Phip
07-26-2002, 10:34 PM
ok, i have this:
function cleanString($string)
{
trim($string);
$string = htmlentities($string, ENT_QUOTES);
$string = stripslashes($string);
$string = nl2br($string);
};
cleanString($body);
how do i get $body to equal the string after it has been cleaned?
function cleanString($string)
{
trim($string);
$string = htmlentities($string, ENT_QUOTES);
$string = stripslashes($string);
$string = nl2br($string);
};
cleanString($body);
how do i get $body to equal the string after it has been cleaned?