NYCPHP Meetup

NYPHP.org

[nycphp-talk] Adding <br> and <p> to a text

Emmanuel. M. Decarie emm at scriptdigital.com
Thu Jun 5 12:27:52 EDT 2003


Hello there,

I posted on my blog a little function that will translate accented 
characters to html entities, and add <p> and <br /> to the text that 
is passed to it.

I though that it might be helpful for someone else than me.

<http://blog.scriptdigital.com/index.php?entry=/PHP/formattext.html>

Cheers
-Emmanuel
-- 
______________________________________________________________________
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
Radio UserLand/Frontier - Perl - PHP - Javascript  <http://scriptdigital.com/>
Blog: <http://blog.scriptdigital.com> - AIM: scriptdigital




More information about the talk mailing list