Location: PHPKode > scripts > PHP calendar with AJAX driven agenda > MyWeb20Agenda/MyWeb20Agenda/includes/calendar_conn.php
<?php
	$link = mysql_connect('localhost', 'root', '');
	if (!$link) { die('Not connected to host : ' . mysql_error());}
	$db_selected = mysql_select_db('myagenda', $link);
	if (!$db_selected) { die ('Not connected to database : ' . mysql_error());}
?>
Return current item: PHP calendar with AJAX driven agenda