<?php
    
require_once("../config.php");
    
$res= new PDO($mysql_server,$mysql_user,$mysql_pass);
    
mysql_select_db($mysql_db);

   require(
"../../codebase/treegrid_connector.php");
   
$tree = new TreeGridConnector($res);
   
$tree->enable_log("temp.log",true);
   
$tree->dynamic_loading(true);
   
$tree->render_table("tasks","taskId","taskName,duration,complete","","parentId");
?>