Does anyone know if there is a function that will convert all the "bad" characters (double and single quotes expecially) to their respective ascii code.
For example " would equal "
I have written a kloodge, but would love to know a better way to do this. \
function cleaner($TEXT)
{
$HALFWAY = str_replace("'", "'", $TEXT);
$DONE = str_replace("\"", """, $HALFWAY);
return($DONE);
}
thanks,
Justin