RE: [PHP] Breaking apart by group?

From: Date: Thu, 11 Oct 2001 18:41:38 +0000
Subject: RE: [PHP] Breaking apart by group?
Groups: php.general 
Request: Send a blank email to php-general+get-70840@lists.php.net to get a copy of this message
Sounds like you need to SORT on publishday, then compare the current value to the previous one you have stored in a variable $prev_publishday. Johan which world? www.pongworld.com -----Original Message----- From: Jeff Lewis [mailto:jeff@hyrum.net] Sent: Thursday, October 11, 2001 12:19 PM To: php-general@lists.php.net Subject: [PHP] Breaking apart by group? I am looping through a set of data retrieved through my database and I want to break it apart based on the variable called publishday. So the first time around a new table will need to be started but for each time around I need to check if a new publishday is encountered. If so, close the previous table and start a new one. If anyone understands and can help out, I'd be very appreciative :) Jeff

« previous php.general (#70840) next »