Location: PHPKode > projects > Surreal ToDo > surrealtodo_v0.6.1.2/connect.php
<?php

/* Database config */

$db_host		= 'localhost';
$db_user		= 'user';
$db_pass		= 'pass';
$db_database	= 'surreal1_todo'; 

/* End config */

$link = @mysql_connect($db_host,$db_user,$db_pass) or die('Unable to establish a DB connection');

mysql_set_charset('utf8');
mysql_select_db($db_database,$link);

?>
Return current item: Surreal ToDo