Thanks
I know how to register a session variable, it is a session variable variable that I can't seem to get the hang of.
I tried
session_register('{$array_name}')
and
session_register('$array_name'}
with regard to the second problem. I am going through an mysql_fetch_array, one of the values of which I would like to use for the array_name. This is a unique value which I can then assign various properties and their values that are related to the unique array name.
This means I will have several unique arrays with related properties.
I don't think
$array_variable = "some_value";
$array_name = ${$array_variable};
will work, because you are only assigning "some_value" to $array_name, once you start assigning values
$array_name['property'] = "value"
then it will just create this variable as an array. Also $array_name would not be unique.
I need to be creating an array
${$unique_value}['property'] = "value"
but I get the problem I detailed in my first post.