hi i am new to dhtmlxgantt chart i am getting data in php file from my sqlserver in xml format
<data><task id="1"><start_date>1906-10-04 00:00</start_date><duration>58</duration><text>Project #1</text><progress>0.6</progress><sortorder>0</sortorder><parent>0</parent></task><task id="2"><start_date>1906-10-05 00:00</start_date><duration>44</duration><text>fff</text><progress>0.7</progress><sortorder>1</sortorder><parent>1</parent></task><coll_options for="links"><item source="2" target="2" type="1"/><item source="3" target="2" type="1"/></coll_options></data>
and i am my dhtmlxgantt is not able to get data from it so is there any way this could be solved
i am using my gantt.html as [code]
// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( “Database”=>“gantt”);
$conn = sqlsrv_connect( $serverName, $connectionInfo);
$gantt = new GanttConnector($conn,“SQLSrv”);
$gantt->enable_order(“id”);
$gantt->render_links(“gantt_links”,“id”,“source,target,type”);
$gantt->render_table(
“gantt_tasks”,
“id”,
“start_date,duration,text,progress,sortorder,parent”
);
?>
[/code]