I have a series of arrays in the following format:
$data_1[element][id]
$data_2[element][id]
$data_3[element][id]
...
I need to process each of these arrays using a 'for' loop increasing the number on the end of the array name (ie: $data_x) each time.
My problem is defining the name of the variable where part of the name is a variable itself. eg: $data_{$i}[element][id]
I suspect this is simple but i haven't managed to find any documentation on this that helps.
suggestions welcome!