Posted By

wza on 01/25/12


Tagged

textmate php+mysql+db+connect


Versions (?)

php+mysql+connect


 / Published in: PHP
 

  1. $db = mysql_connect('YOUR_DB_ADDRESS','YOUR_DB_USER','YOUR_DB_PASS') or die("Database error");
  2. mysql_select_db('YOUR_DB', $db);

Report this snippet  

You need to login to post a comment.