Cannot connect to database [MYSQL]

Hi there, I done exacltly the same like here:
codeproject.com/Articles/10 … on-with-dh

My data.php looks like this:

[code]<?php

include (‘codebase/connector/gantt_connector.php’);

$res=mysql_connect(“localhost”,“root”,“root”);
mysql_select_db(“gantt”);

$gantt = new JSONGanttConnector($res);
$gantt->render_links(“gantt_links”,“id”,“source,target,type”);
$gantt->render_table(
“gantt_tasks”,
“id”,
“start_date,duration,text,progress,sortorder,parent”
);
?>[/code]

Index.html like this:

[code]

My Own Gantt Chart html, body{ height:100%; padding:0px; margin:0px; overflow: hidden;}
[/code]

DATABASE:

CREATE DATABASE gantt; USE gantt; CREATE TABLE `gantt_links` ( `id` int(11) NOT NULL AUTO_INCREMENT, `source` int(11) NOT NULL, `target` int(11) NOT NULL, `type` varchar(1) NOT NULL, PRIMARY KEY (`id`) ); CREATE TABLE `gantt_tasks` ( `id` int(11) NOT NULL AUTO_INCREMENT, `text` varchar(255) NOT NULL, `start_date` datetime NOT NULL, `duration` int(11) NOT NULL, `progress` float NOT NULL, `sortorder` int(11) NOT NULL, `parent` int(11) NOT NULL, PRIMARY KEY (`id`) );

AND nothing… I cannot save the tasks into the database, and the gantt do not shows anything even If I add some tasks by hand.
What is wrong? dhtmlxGantt officialy dosen’t work? Please help?

Ive download all the packed from here:
dhtmlx.com/docs/products/dhtmlx … load.shtml
(standard)