now use explode with /n as the seprating character,
Andrew
- Original Message -
From: jtjohnston [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 10, 2001 9:15 AM
Subject: [PHP] Nope: Text Wrapper
In This case, nope, won't work:
ImageString($image,2,20,60,wordwrap($string,34),$blue);
http://www.collegesherbrooke.qc.ca/languesmodernes/course/postcard.php
How can I break wordwrap($string,34) into an aray and do something like
this:
$ypos = 60;
for i to array_length
{
ImageString($image,2,20,$ypos,array[i],$blue);
$ypos = $ypos + 15;
}
signed,
Perl convert :0)
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]