note 32200 added to function.wordwrap
| From: | moosh@php.net | Date: | Tue, 20 May 2003 10:04:48 +0000 |
| Subject: | note 32200 added to function.wordwrap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48648@lists.php.net to get a copy of this message | ||
stupid function to write vertical..
(but it's more stupid to use gd for this.)
function writeDir($stringToOutput,$dir="H")
{
if ($dir=="V")
{
echo wordwrap($stringToOutput,1,"<br\>",true);
}
else
{
echo $stringToOutput;
}
return true;
}
----
Manual Page -- http://www.php.net/manual/en/function.wordwrap.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32200
Approve Note -- http://master.php.net/manage/user-notes.php?action=approve+32200&report=yes
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32200&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32200&report=yes