connnection.php
Connection Code PHP - MySql
Note : In connection string all requirement will be set by you at the time of installationBy Default username = root, password = " ", Host-address = " localhost ", Database = "Database Name " for example = 'mydb'.
You can download directly connection.php page Click here
Connecton.php Download
Code
<?php
$us="root"; // username
$pwd=""; // password
$ls="localhost"; //host
$db=mysql_connect($ls,$us,$pwd)or die(mysql_error());
$sd=mysql_select_db("mydb",$db)or die(mysql_error());
// mydb - database
?>
Note : In connection string all requirement will be set by you at the time of installationBy Default username = root, password = " ", Host-address = " localhost ", Database = "Database Name " for example = 'mydb'.
You can download directly connection.php page Click here
1:04 PM
connection-age, connnection.php, database connect, dbconnect, download, experiment, mysql, mysql-connect, PHP, php connection
0
0 comments:
Post a Comment