PDA

View Full Version : using variable like $var[one][two] in template


XxBuLLeTz
04-06-2008, 01:28 AM
hey, i've been trying to have my template echo this variable: $var[one][two], but when it is parsed, it returns: the value of $var[one] and then the text: [two]

how can i use a 2dimensional array in a vb template? is it not possible?

thanks!

MoT3rror
04-06-2008, 02:50 AM
{$var[one][two]} I think that should work.

XxBuLLeTz
04-06-2008, 03:35 AM
works perfect!

thanks!