PHP Project with Jasper Report

0

I proceed to clarify the requirement ... I have NetBeans IDE 8.2 installed to install iReport-5.6.0-plugin where I have been able to make some reports that work correctly, but when calling from my php project I only get a blank page without any type of error. In php I have included the phpjasperxml_0.9d library where I call my reports as follows:

<?php
$desde = date("d-m-y", strtotime($_REQUEST['desde'])); 
$hasta = date("d-m-y", strtotime($_REQUEST['hasta']));
//$PHPJasperXML->debugsql=true;
$PHPJasperXML->arrayParameter=array("id"=>$_REQUEST['id'],"desde"=>$desde,"hasta"=>$hasta);
$PHPJasperXML->load_xml_file("polizas_vencimientos_listado.jrxml");   
$PHPJasperXML->transferDBtoArray($server,$user,$pass,$db); 
$PHPJasperXML->outpage("I"); 

? >

    
asked by Gouvian Bautista 02.07.2018 в 23:35
source

0 answers