changed mysql_real_escape_string() to addslashes()