mysql_real_escape_string was applied to query parameters