im new to smatry templates
there are 4 categories. how to get category id's in tpl file?
i have coded in php page
Code: Select all
foreach ($result as $row)
{
$result['id_category'] = $row ;
}here in php file i get category ids [1 2 3]. but im unable to display in tpl file.
please help me
thank you in advance
regards
bhanu