tpwalker1980 Posted February 27, 2007 Share Posted February 27, 2007 The following code is causing my page to come up entirely blank pure white. no errors.. //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 display but with no data as its missing the array... full page of code can be found http://www.vanguardlegacy.com/code.html output can be found here http://www.vanguardlegacy.com/modules.php?name=Submit_Group&file=list_submits Link to comment https://forums.phpfreaks.com/topic/40397-sql-query-problem/ Share on other sites More sharing options...
fenway Posted February 27, 2007 Share Posted February 27, 2007 Well, then it's a PHP error... Link to comment https://forums.phpfreaks.com/topic/40397-sql-query-problem/#findComment-195458 Share on other sites More sharing options...
tpwalker1980 Posted February 27, 2007 Author Share Posted February 27, 2007 I'll redirect the question then. sry. Link to comment https://forums.phpfreaks.com/topic/40397-sql-query-problem/#findComment-195481 Share on other sites More sharing options...
fenway Posted February 27, 2007 Share Posted February 27, 2007 Not a problem... I just won't be able to help! Link to comment https://forums.phpfreaks.com/topic/40397-sql-query-problem/#findComment-195490 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.