I have an array containing approx 200 strings and want to put them in a template.
Code: Select all
require_once ("customerordersrep.class.php");
$rep = new customerordersrep();
$custreport = $rep->get();
$t_header = new template("templates");
$t_lineitem = new template ("templates");
$t_totalsummary = new template ("templates");
$t_header->load("CustomerReport.htm",true,"HEADER");
$t_lineitem->load("CustomerReport.htm",true,"LINEITEM");
$customer = $custreportї"Repository"]ї"ShipToName"];
$t_lineitem->set("CUSTNAME",$customer);
$t_totalsummary->load("CustomerReport.htm",true,"TOTALSUMMARY");
$t_header->output();
$t_lineitem->output();
$t_totalsummary->output();Anyone have any ideas? Please let me know as soon as possible, cheers.
Joe