Posted By

paul0078 on 04/15/12


Tagged

mysql database php connect


Versions (?)

Connect to mySQL


 / Published in: PHP
 

  1. <?php $dbconnect = mysql_connect('127.0.0.1', 'root', 'rhi120281');
  2.  
  3. if (!$dbconnect) {
  4. exit('Sorry there was a problem connecting to MYSQL');
  5. }
  6. ?>

Report this snippet  

You need to login to post a comment.