An array of array pointers
Posted: Tue Feb 10, 2009 1:50 pm
Cant get the code to work. I populate several arrays with info: id, name, dob, etc. Each array is different person.
FF, FM, F, C, M, MF, MM .. ancestry stuff
at least that's the idea. Just can't get the duck's in proper order.
Thanks
FF, FM, F, C, M, MF, MM .. ancestry stuff
Code: Select all
$FF = array ('123', 'b', 'c');
$FM = array ('124', 'b', 'c');
$F = array ('125', 'b', 'c');
$list = array ($FF, $FM, $F, ...);
foreach ($list as $arr) {
get_person ($arr[0]); # $arr[0] should be 123 etc
}
Thanks