hi
i'm using the following code to display a variable called $test in a pdf document
pdf_show($pdf,"Essay 1");
pdf_show_xy($pdf,$test, $startx,680);
-this works, if the value of $test is only a few characters long, but when $test is a long text area of up to 800 words, what happens is my text runs off the page
i tried using wordwrap() to format the large text area to fit within the pdf document
pdf_show($pdf,"Essay 1");
$newtext = wordwrap( $test, 80 );
pdf_show_xy($pdf,$newtext, $startx,680);
-this doesn't seem to work. the pdf looks exactly the same w text running off the page.
anyone ever run into this type of situation? any words of advice would be appreciated
thanks