I want so that if a user writes: <b> (and every other html tag) it will not be a bold text but it will be written just like that <b>. BUT i want the user to be able to write for example: (URL=http://url)something(/URL) and it will be a hyperlink. the ()' should be changed to []'s instead, just couldnt write it here.
what i've got now is this:
function OutputText($text)
{
$text = stripslashes($text);
$text = htmlentities($text);
$text = nl2br($text);
return $text;
}