Ver original$result = mysql_query(/* Aquí tu consulta e identificador de enlace */) or die('Error en consulta: ' . mysql_error());