View Single Post
  #9  
Old 03-14-2011, 12:24 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Re: Can't access custom variable

Strangely, my xcart didn't like calling the table name ...?

I've popped this in instead and it seems to work?

$mintotal = func_query_first_cell("SELECT mintotal FROM `xcart_shipping_rates` where rate = '0' and shippingid = '173'");
$smarty->assign("mintotal",$mintotal);



Dropped it into the equation and it works perfectly! Faaaaantastic! Whoop! Thank you, Steve!

__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development
Reply With Quote