Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100 off




Title: Formatting text for XHTML using nl2p function    Marked Cool
Author: kaklz
Posted On: 2004-11-24
Category: Home > PHP Functions
Description: I hope all of you know what is a nl2br() PHP function and how you can use it. As we move towards semantic web, there are many places where you want to have pure XHTML. This function converts plain text that has newline characters to a nice XHTML split into paragraphs using <p> tags. Be sure to execute the downloaded PHP file, in order to see the source and demostration.
Total Hits: 14558
Total Votes: 2
Total Points: 4 (2 reviews)
Popularity: 9 points out of 10





Resource Reviews Provided by Member/Non-members:
Reviewed by Comment Rating Reviewed on

Your Name:

E-mail:
Comment:
Rating:
Vote for this resource:      Yes    No
 
Copy image characters *:
    

© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.