PHP Classes

How to make sample report using this class?

Recommend this page to a friend!

      PhpReportsMSSQL  >  All threads  >  How to make sample report using this...  >  (Un) Subscribe thread alerts  
Subject:How to make sample report using this...
Summary:Cannot show report data
Messages:1
Author:Richard Sitompul
Date:2013-09-12 05:59:11
 

  1. How to make sample report using this...   Reply   Report abuse  
Picture of Richard Sitompul 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