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:
Resource Reviews Provided by Member/Non-members:
Reviewed by
Comment
Rating
Reviewed on
PHP-MAN
Considering it's just a call to a built-in function I'm amazed it's marked cool. I'd rate it well if it was something original like a wrapper to the phpinfo that would allow manipulation of the data shown in which case it would deserve the title of excellent.