Hello All,
In order to connect MySQL database from PHP script one can use bellow mentioned sample script:
<?
// Connect to the database
mysql_connect ('localhost', 'database Username', 'database password') ;
mysql_select_db ('database name');
?>
Connected successfully
Thanks,
Shane G.
AccuWebHosting.Com
In order to connect MySQL database from PHP script one can use bellow mentioned sample script:
<?
// Connect to the database
mysql_connect ('localhost', 'database Username', 'database password') ;
mysql_select_db ('database name');
?>
Connected successfully
Thanks,
Shane G.
AccuWebHosting.Com
Comment