Posted by Raqueeb Hassan on 11/12/05 09:00
>> http://www.php.net/htmlspecialchars
> or perhaps: http://uk2.php.net/manual/en/function.strip-tags.php
Perfect links! Here is an example from man pages ....
<?php
$new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES);
echo $new; // <a href='test'>Test</a>
?>
--
Raqueeb Hassan
Bangladesh
Navigation:
[Reply to this message]
|