Select to MySQL database


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if (!@mysql_select_db('guitardb', $dbconnect)) {
  2. exit('Sorry there was a problem connecting to the Guitar database');
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.