Help - Search - Members - Calendar
Full Version: Connecting Mysql Database Using Code.
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
sajaykumar
Hi ,
i want to connect mysql database using coding ie, using the following code

$con = mysql_connect("localhost","root","password");

can anyone please tell me how to do it to tis site..please help me
punzer
$con = mysql_connect(
"localhost",
"account_login"."_"."database_login",
"database_password"
);
mysql_select_db("database_name") or die("error");
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.