Skip to content

Instantly share code, notes, and snippets.

@LinzardMac
Created August 18, 2015 18:31
Show Gist options
  • Save LinzardMac/5da1ae15f11017ab59ad to your computer and use it in GitHub Desktop.
Save LinzardMac/5da1ae15f11017ab59ad to your computer and use it in GitHub Desktop.
$db = @mysql_connect('server', 'username', 'password');
if (!$db) echo "connection failed";
else echo "connection succeeded";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment