Re: Get next record

From: Date: Mon, 12 Mar 2001 19:46:42 +0000
Subject: Re: Get next record
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43529@lists.php.net to get a copy of this message
Umm if you are talking about records in the sense of a table.. you could do something like "SELECT record_id,record_date FROM table" and then go through the array and compare the dates. You only do one query from the database and then you know which records match by hanging onto their record_id. Is this what you wanted? -Tanya On Mon, 12 Mar 2001, WreckRman2 wrote: > How can one get the next record to compare two fields... I want to check if > the date of the first record matches the date of the next record with the > least amount of code... > > David Smith > Indy Web Design > http://www.indywebdesign.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43529) next »