Results 1 to 1 of 1
12 - MySQL Database Connectivity with PHP - Tutorial in UrduIn this tutorial we will teach you how to connect to MySQL database with php in a efficient way..
$host = "localhost";
$db_user = "root";
$db_pass = "";
$db_name = "learning";
$db = mysql_connect($host, $db_user, $db_pass);
$select_db = mysql_select_db($db_name);
//echo "Database connected! & Selected DB ".$db_name;
Last edited by Їийоcёйт Кїllєґ; 03-13-2014 at 05:00 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)