Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/example_1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of verni  >  PHP Report  >  examples/example_1.php  >  Download  
File: examples/example_1.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Report
Generate Excel, HTML, PDF reports from data arrays
Author: By
Last change:
Date: 2 years ago
Size: 368 bytes
 

Contents

Class file image Download
<?php

include '../PHPReport.php';

$R=new PHPReport();
$R->load(array(
            
'id'=>'product',
            
'data'=>array(
                        array(
'Some product',23.99,12),
                        array(
'Other product',5.25,2.25),
                        array(
'Third product',0.20,3.5)
                )
            )
        );

echo 
$R->render();
exit();