if ($debug == true) {
error_log($xmlString, 3, ‘debug_’.date(“Y_m_d__H_i_s”).’.xml’);
}
$xml = simplexml_load_string($xmlString);
$excel = new gridExcelGenerator();
$excel->printGrid($xml);
function PDFErrorHandler ($errno, $errstr, $errfile, $errline) {
global $xmlString;
if ($errno < 1024) {
error_log($xmlString, 3, ‘error_report_’.date(“Y_m_d__H_i_s”).’.xml’);
exit(1);
}
}
?>[/code]
When i call generate.php it assumes that there is a XML file to upload
what is the way to LOAD my table from the DB instead of using a XML file?
thank
You should fetch data from DB, generate appropriate xml and pass it to the grid. To simplify server side operations related DHTMLX components you can use dhtmlxConnector extension. Please find more information here dhtmlx.com/docs/products/dhtmlxC … ndex.shtml
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan