We can connect Mysql Database with PHP using Procedural and Object oriented style like below
$con= mysql_connect("localhost", "username", "password");
mysql_select_db("database",$con);
$con= mysql_connect("localhost", "username", "password");
mysql_select_db("database",$con);
No comments:
Post a Comment