Hi all,
I hope I can get a bit of advice on this stupid problem. I'm using SMARTY for my site and I have a question about working with two arrays.
Array #1
0 => Array (8)
0 => 4
1 => 3
2 => biology
3 => english
4 => 2007
5 => none
6 => empty
7 => spanish
1=> ..[SNIP]
Array two
Array (3)
1 => Harvard
2 => Boston University
3 => New York University
Now, I cycle to output the first array using {section} in smarty and it works fine. However I want to replace the "1 => 3" from the first array with 3 = New York University from the second array. So when outputing a list of students instead of showing the school code, it replaces the school code with the name ... any way I tried it fails so far, any advice, seems like a simple problem, and would have no trouble doing it in PHP .... but smarty...
Thanks everyone.