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
|