Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- // 1. Create a database connection
- $connection = mysql_connect("localhost","eparktec_mwakale1","AqTtl7qFBuJ4");
- if (!$connection) {
- die("Database connection failed: " . mysql_error());
- }
- // 2. Select a database to use
- $db_select = mysql_select_db("eparktec_mwakale",$connection);
- if (! $db_select) {
- die("Database selection failed: " . mysql_error());
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement