Weird Smarty Bracket Problem
I am displaying data from a table and I am unable to modify the column names. The problem is that one of the column names has brackets in it, for example 'ccost[0]'
When I try to display the value of that column using {$product.proddata.ccost[0]} smarty thinks I am trying to display a value of an array 'ccost'
Is there any way to trick smarty into using 'ccost[0]' as the actual fieldname and not a reference to an array?
Thanks,
Andy
|