Skip to content

Instantly share code, notes, and snippets.

@empirefx
Created December 15, 2011 04:28
Show Gist options
  • Save empirefx/1479847 to your computer and use it in GitHub Desktop.
Save empirefx/1479847 to your computer and use it in GitHub Desktop.
Error mysql
<?php
// Para que muestre por pantalla el error mysql.
$numresults=mysql_query($query);
if (!$numresults){
die (mysql_error());
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment