I'm trying to sanitize a variable and am having an issue.
This code outputs the echo correctly:
$to_raw = $_POST['to'] ;
echo $to_raw;
But this returns nothing:
$to_raw = mysql_real_escape_string($_POST['to']) ;
echo $to_raw;
Am I missing something?