Jump to content


This topic is now archived and is closed to further replies.



Recommended Posts

Guessing you mean how to connect to a selected MySQL database, this is adequate:

[code]$db_login = ""; // your database login name
$db_pass = ""; // your database password
$db_name = ""; // your database name
mysql_connect($db_host, $db_login, $db_pass) or die ("Can't connect!");
mysql_select_db($db_name) or die ("Can't open database!");[/code]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.