View Single Post
  #4  
Old 06-24-2004, 11:05 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

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}

__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote