Codxplore.com

Latest news:

New android application Islamic Video has been released. its a free islamic video application for android smartphone. Download now!

How to connect mysql database using php


$con = mysql_connect('localhost','root','');
if(!$con){
    mysql_error('Could not connect');
}else{
     mysql_select_db('spa_db',$con);
     //echo 'success';
    }
?>

Tags :

Views : 684

Subscribe Us


Follow Us