Hi
I have a table which contains language conversions. The structure of the table is currently as such:
ID | SECTION | ENGLISH | GERMAN | ITALIAN
Each row will contain data something like the following:
1 | About Us Page | Hello | Hallo | Ciao
And so on. The idea is that the hard coded labels of my site will change depending on where the user's IP address is located, I therefore change the lanaguage of my site.
My plan is to query this large table when the user firsts visits the site and store the values into one large session array that I can access anywhere on my site and pull out and display the correct label depending on which SECTION the user is currently looking at on my site.
So I need help with that very query!
What would be th ebest way to query and structure that array? I guess it would be a multidimensional array, where the field names ENGLISH, GERMAN, ITALIAN could be the main KEYS and these contain sub arrays?
Any help would be greatly appreciated.
Doug