Advertisement
winer963

conn.php

Aug 4th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <?php
  2. $db_name = "drink_system";
  3. $mysql_username = "root";
  4. $mysql_password = "asdfg992";
  5. $server_name = "localhost";
  6. $conn = mysqli_connect($server_name, $mysql_username, $mysql_password, $db_name);
  7. if($conn){
  8. echo "connection success !";
  9.  
  10. }
  11. else{
  12.  
  13. echo "conection not success";
  14. }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement