PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
while($data = mysql_fetch_object($q)) {
if(((in_array($data->id,$sections)) && $sul < 2) || $sul < 1 ) {
//$data->id is an int from the database
//$sections is an array of ids
//$sectionsї] = $wA->secSectionID; //where secSectionID is the id from the sections table.
Any help would be great as i get taht error 5 times (or however many sections i have) when running the scipt... altho it does still work, and echo the results i want.
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url]. Please review the syntax for line number offsets as well.[/color]