Re: php solution to html problem
| From: | Jasper Bryant-Greene | Date: | Thu, 25 Aug 2005 08:37:38 +0000 |
| Subject: | Re: php solution to html problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221338@lists.php.net to get a copy of this message | ||
Aljaž Bizjak Zupanc wrote:
I recommend using Smarty for wrapping: {$foo|wordwrap:30:"<br/>":true}That does the exact same thing as: print(wordwrap($foo, 30, '<br />', true)); Which is much more convenient if you're not already using Smarty. Jasper