When I did mysql_real_escape_string it gave me errors.