Hello friends,
Now i am trying to connect mysql database in php.simple php code that connect database are here.
<?php
mysql_connect("host_name","user_name","password")or die("database are not connected");
mysql_select_db("db_name")or die("database are not selected");
?>
Now i am trying to connect mysql database in php.simple php code that connect database are here.
<?php
mysql_connect("host_name","user_name","password")or die("database are not connected");
mysql_select_db("db_name")or die("database are not selected");
?>
No comments:
Post a Comment