Quote:
Originally Posted by firecompanies
I'm a little confused about how to actually do the output still.
|
Code:
# example of results from API
$trackingnum = $api->query("blah");
$smarty->assign("trackingnum",$trackingnum);
Using $smarty->assign(); will pass the variable/array to smarty so that you may use it in your .tpl however you need.
Lets just display the results:
Code:
Tracking Number: {$trackingnum}
