example array entry.
$array['string1']['string2']['string3']
for understand purposes;
string1 is a page name
string2 is a role (IE. admin)
string3 is the name of a function (IE. delete user)
I've not sure if I'm storing this the best way, the multidimensional array is the best thing i can think of. better suggestions more than welcome. it's 2:40 am (GMT) ... so I'm not surprised if i missed something. Basically I want to store the name of a page, an array of the functions that page has and the role requirements for the function.
How do I find something by what is in string2?
IE;
echo $string[]['whatiwant'][];
EDIT Oh year, i forgot There is no way of knowing how many there will be of each, as I had already considered 3 different arrays or however many i need, but the whole idea is to make it expandable.