Skip to content

Instantly share code, notes, and snippets.

/Db.php
Created Feb 15, 2017

Embed
What would you like to do?
<?php
error_reporting(0);
if(!mysql_connect("localhost","root",""))
{
die('oops connection problem ! --> '.mysql_error());
}
if(!mysql_select_db("urlshortner"))
{
die('oops database selection problem ! --> '.mysql_error());
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.