Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <?php
  2. $sql_db = "odinms"; //DB Name
  3. $sql_host = "localhost"; //DB Host
  4. $sql_user = "username"; //DB User
  5. $sql_pass = "password"; //DB Password
  6.  
  7. $db = mysql_connect($sql_host, $sql_user, $sql_pass) OR die ('Cant connect to the database');
  8. mysql_select_db($sql_db, $db);
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement