// MAL $result=mysql_query($strsql); // BIEN $result=mysql_query($strsql) or die('Este es mi error:'.mysql_error());