Not sure what Im doing wrong here.
BUT this snippet here is causing my page to show up blank white.
//Get all group submisions
$sgroups = $db->sql_query("SELECT * FROM group_report ORDER BY greport_id ASC");
//roll the above into an array indexed by greport_id
while(list($greport_id, $group_stime, $group_etime, $group_date, $group_loc, $group_mem1, $group_mem2, $group_mem3, $group_mem4, $group_mem5, $group_mem6, $submit_date) = sql_fetch_row($sgroups)) {
$sgroups_array[$greport_id[] = array($greport_id, $group_stime, $group_etime, $group_date, $group_loc, $group_mem1, $group_mem2, $group_mem3, $group_mem4, $group_mem5, $group_mem6, $submit_date);
}
if I comment out
$sgroups_array[$greport_id[] = array($greport_id, $group_stime, $group_etime, $group_date, $group_loc, $group_mem1, $group_mem2, $group_mem3, $group_mem4, $group_mem5, $group_mem6, $submit_date);
The page will at least load, but with no data as its missing the array.