Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
<?
2
/* database info, or include a config.php file
3
a config file would just contain the info from $db_host through the mysql_select_db ... )); */
4
$db_host = 'localhost'; #change to your host
5
$db_user = 'chaosdell'; #change to your user name
6
$db_password = 'sesvul'; #change to your password
7
$db_name = 'phpchat'; #change to your db name
8
 
9
mysql_connect($db_host,$db_user,$db_password) or die(mysql_error()); 
10
mysql_select_db($db_name) or die(mysql_error());
11
?>