Advertisement
Guest User

Untitled

a guest
Apr 6th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <?php
  2. $mysql_hostname = "localhost";
  3. $mysql_username = "root";
  4. $mysql_password = "xxxxxxxx";
  5. $mysql_database = "marrybrown_clean";
  6. $bd = mysqli_connect ($mysql_hostname, $mysql_username, $mysql_password) or die ('Could not connect database!');
  7. mysqli_select_db ($mysql_database, $bd) or die (" Could not select database!");
  8.  
  9. ?>
  10.  
  11.  
  12.  
  13. **Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in C:xampphtdocsmarrybrown_cleanconnect.php on line 7
  14. Could not select database!**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement