Advertisement
Guest User

Untitled

a guest
May 19th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?
  2.  
  3. $db="yazdb"; //------name of database
  4.  
  5. $host="localhost"; //----this is the name of your database
  6.  
  7. $dbuser="root"; //----database username
  8.  
  9. $dbpass="qweasd"; //----database access password
  10.  
  11. $link = mysql_pconnect($host,$dbuser,$dbpass);
  12.  
  13. mysql_select_db($db);
  14.  
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement