init
This commit is contained in:
17
emails/PHPReport-master/examples/example_1.php
Normal file
17
emails/PHPReport-master/examples/example_1.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
ini_set('display_errors',1);
|
||||
include_once("../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();
|
||||
Reference in New Issue
Block a user