yinkoh added a post in a topic: multi dim array problem
i wanted to improve an old script but i'm facing a stupid problem and i'm stucked there ...
here's what i want to do:
i'm using an ini file with sections and idents. i stored sections into a comma variable which a explode to get each section name.
for each section there's another variable containing all idents that can be read into that section.
the aim is to call into the script "$params[$section][$ident]" to read values.
$sections = "info,global"
$section_info = "main,window"
I tried several ways of creating a variable such as "$params[$section][$ident]" but all i get is compiler errors...
Can someone help plz ?