<?php
    
require_once("../config.php");
    
$res= new PDO($mysql_server,$mysql_user,$mysql_pass);
    
mysql_select_db($mysql_db);
    require(
"../../codebase/treegroup_connector.php");
    
    
$tree = new TreeGroupConnector($res);
    
$tree->enable_log("temp.log",true);
    
$tree->render_table("products","id","product_name","","category");
    
?>