Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "localhost";
- $username = "root";
- $password = "123456a";
- $con = mysql_connect($servername, $username, $password);
- if (!$con)
- {
- die('Could not connect' .mysql_error());
- }
- mysql_select_db("sampletest", $con);
- ?>
Add Comment
Please, Sign In to add comment