
Richard Sitompul - 2013-09-12 05:59:11
Hi Dyego,
Can you give sample use this class? because i already use this script but no result for in the webpage.
<?php
include('phpgeneratereport.class.php');
//SQL Query
$sql = 'select * from tbl_cm1';
//Títle
$titulo = 'Report for CM1 Budget';
//Lines per Page
$linhas_pagina = 20;
//This batch
$lote = NULL;
if($lote == NULL)
{
$relatorio = new Relatorio('mssql','SATU-PC','GetScalaDB','sa','mypassword',$sql,$titulo,$linhas_pagina);
//echo("success");
} else {
$relatorio = new Relatorio('mssql','SATU-PC','GetScalaDB','sa','mypassword',$sql,$titulo,$linhas_pagina,$lote);
}
?>
Best regards,
Richard Sitompul