View Single Post
  #26  
Old 01-09-2009, 10:04 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: help with if then statment for detailed description

ok I got it working.

I placed this code:
$cat_order_by = func_query_first_cell("select order_by from $sql_tbl[categories] where categoryid = '$cat'");
$smarty->assign("cat_order_by",$cat_order_by);

just below this code:
$main = "product";
$smarty->assign("main",$main);

I now get this

category: 249
parent: 0
order_by: 10
__________________
xcart 5.1.2
Reply With Quote