Results 1 to 19 of 19
Thread: Multidimensional Arrays
Nov 13, 2008, 10:04 #1
- Join Date
- Apr 2004
- 0 Post(s)
- 0 Thread(s)
I am trying to return some query results in a multidemensional array.
The first dimension is the name of the usergroups on my site
The second is the names of the members of that group
The third dimension is some extra information on each user
I have 3 seperate arrays that all return correctly compiled from 3 queries. Indivudally printed to the page they print the proper data.
$group = array();
$names = array();
$data = array();
$rpt = array($group => array($names) => array($data));
Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')'