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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to