View Single Post
  #8  
Old 03-10-2011, 11:03 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Can't access custom variable

Since the only value you need is mintotal you can do this
Code:
$mintotal = func_query_first_cell("select mintotal from $sql_tbl[xcart_shipping_rates] where rate = '0' and shippingid = '173'"); $smary->assign("mintotal",$mintotal);
Then use $mintotal in the template to calculate whatever you need
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote