HTML to XHTML
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 2120
Total Votes: 24 votes
Category: PHP/Content Management
Submitted on: 2008-03-16 02:59:47
Submitted By: Devesh Khanna
Description:This is a very handy function if you want to clean up your content before storing it into your database. It uses "eregi_replace" to replace every character with the desired one. I would use it to convert a HTML code to XHTML to make it valid.
It has only 4 characters right now but it can be extended to an unlimited number in order to output a really clean content. More detail...