<?php

require_once "../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../codebase/grid_connector.php";
$grid = new GridConnector($res);
$grid->enable_log("temp.log", true);
$grid->enable_live_update('actions_table');
$grid->render_table("grid50", "item_id", "item_nm,item_cd");
<?php

require_once "../config.php";
require "../../codebase/db_pdo.php";
$res = new PDO($mysql_server, $mysql_user, $mysql_pass);
require "../../codebase/treegrid_connector.php";
$treegrid = new GridConnector($res, "PDO");
$treegrid->enable_log("temp.log", true);
$treegrid->enable_live_update("actions_table");
$treegrid->render_table("tasks", "taskId", "taskName,duration,complete", "", "parentId");