HTML to XHTML

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

HTML to XHTML

This is a very handy function if you want to clean up your content before storing it into your database.
http://www.roscripts.com/HTML_to_XHTML-64.html
  • Total Hits: 13776

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 142 votes

  • Category: PHP/Content Management

  • Submitted on: 2008-03-16 02:59:47

  • Submitted By: Devesh Khanna

  • Set as Favorite

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...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38.73%  55
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.86%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.27%  16
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 11.27%  16
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.87%  41

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements