Advertisement
Guest User

config.php

a guest
May 31st, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. $db_hostname = 'localhost';
  2. $db_database = 'testdb';
  3. $db_username = 'root';
  4. $db_password = '';
  5.  
  6. /* Do not edit the code below if you do not know what you're doing */
  7. $db_server = mysqli_connect($db_hostname, $db_username, $db_password)
  8.    or die("Failed to connect to MySQL Database: ".mysql_error());
  9.    
  10. mysql_select_db($db_database)
  11.    or die("Unable to select the defined database: ".mysql_error());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement