replaces mysql_real_escape_string with addslashes