<?php
    
require_once("../config.php");
    
$res=mysql_connect($mysql_server,$mysql_user,$mysql_pass);
    
mysql_select_db($mysql_db);
    require(
"../../codebase/treegridgroup_connector.php");
    
    
$treegrid = new TreeGridGroupConnector($res);
    
$treegrid->enable_log("temp.log",true);
    
$treegrid->render_table("products","id","product_name,scales,colour","","category");
    
?>