note 43361 rejected from function.wordwrap by vincent

From: Date: Sat, 19 Jun 2004 08:22:56 +0000
Subject: note 43361 rejected from function.wordwrap by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71319@lists.php.net to get a copy of this message
Note Submitter: jeremy@optikalworld.com ---- I am using php to create dynamic pdf files. How can i get the output of a variable to wrap using the same method/style as wordwrap() in a pdf file? ---code snippet--- <?php $cdesc = "a really long string" $fdesc = wordwrap( $cdesc, 80 ); pdf_show_xy($pdf, $fdesc, 120, 600); ?> But it still outputs the string on a single line that runs clear off the page.

« previous php.notes (#71319) next »