Last active
September 27, 2015 04:07
-
-
Save SecretDeveloper/1208778 to your computer and use it in GitHub Desktop.
PHP badness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$result = mysql_query('SELECT * FROM Customers'); | |
if (!$result) { | |
die('Invalid query: ' . mysql_error()); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment