Does anyone know how to write a function that checks if a string ($html) is written in correct HTML code (as much as possible)?
example: thefunction($html=<b>bold<)==false thefunction($html=<b>bold</b>)==true
// Henrik
You wanna look into regex to do this
It's not easy though
Yeldah hdwt.com