Created
March 5, 2017 06:27
-
-
Save anonymous/b60514dfcecfdc98e3386d727ed9230c to your computer and use it in GitHub Desktop.
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 | |
error_reporting(0); | |
if(!mysql_connect("localhost","root","")) | |
{ | |
die('oops connection problem ! --> '.mysql_error()); | |
} | |
if(!mysql_select_db("texttolink")) //replace it with Your database name | |
{ | |
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