Guest User

Untitled

a guest
Nov 17th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2.  
  3. $db_host = "mysql51-72.bdb";
  4. $db_name = "rodeotor";
  5. $db_user = "xxxx";
  6. $db_pass = "xxxx";
  7.  
  8.  
  9.  
  10. $conn = mysql_connect("mysql51-72.bdb", "xxxx", "xxxx");
  11. if (!$conn)
  12. die ("Errore di connessione".mysql_error());
  13.  
  14. $sel = mysql_select_db ($db_name, $conn);
  15. if (!$sel)
  16. die ("Erorre di selezione database".mysql_error());
  17.  
  18.  
  19.  
  20. ?>
Add Comment
Please, Sign In to add comment