PDA

View Full Version : multidimensional arrays in templates


nowrap
02-25-2006, 01:59 PM
i have a string like memberinfo.php?u=$gallery[w][0][userid] in a template ... the result is Array[0][userid] coz $gallery[w] is an array ... how can i solve this?

Marco van Herwaarden
02-25-2006, 02:38 PM
Try adding {} around the array, like:
{$array[i][ii]}