November 14th, 2000, 05:05 PM
Whats the best way to filter some text input.
Say i have ppl putting in text that will be used later in a html page and i want to replace ' in $name with the html equivalant . So it will be displayed ok whats the best way to go about this ?
[This message has been edited by erypmav (edited November 14, 2000).]
November 14th, 2000, 06:48 PM
Look into htmlentities() or htmlspecialchars(). I think those are what you're looking for.
November 14th, 2000, 08:27 PM
That worked perfect thanks heaps.