Quote:
|
Originally Posted by general
sry got another question, Will this work?( all of the second ones are the code ex. <-- !--> is " ! ")
|
If you're looking to handle HTML entities, I would just use the
htmlentities() function, rather then hard-coding every entity that you want to have replaced.
PHP Code:
$write = htmlentities($write, ENT_QUOTES);