Ver originalmysql_query("SELECT * FROM tabla WHERE campo='" . mysql_escape_string($variable) . "' ");