|
Replacing < with < and > with >
Hi all,
When a user adds a comment to the blog, their entry is put into the database using '<' and '>' so when the comment is displayed, it actually displays the code properly, not the code itself. How can I replace < and > with < and >? I know you use str_replace but you can only replace one thing in that right? So what do I do?
__________________
Resources Administrator
|