Hi,
I'm having some problems with strip_tags function thing!
I use it several times so having to change the tags I want to allow each seperatly is annoying so I wanted to set which ones would be allowed in my confic.inc file, but it won't work! 🙁
This works:
$poster_message = strip_tags($myrow["poster_message"], '<a><b><i><u>');
This doesn't:
//config file
$html_allow = '<a><b><i><u>';
//page being used on
//striping
$poster_message = strip_tags($myrow["poster_message"], '$html_allow');
//being printed out
print "<div align=\"left\" class=\"comment2\">$poster_message</div>
Thanks