> -----Original Message-----
> From: Justin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 14 August 2002 10:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Comparing Data
> 
> 
> Hello all, 
> 
> I've run into a problem and there has got to be a way to do this.
> 
> I'm searching a mysql table and finding all rows that have the 
> same ID. I need to output that ID, but I only want it to print once. 
> 
> Any help would be greatly appreciated!
> Justin
> 

what about something like a simple select statement eg

SELECT * FROM table where id = $ID;


then do something like

echo $ID
echo $other values.
blah blah blah blah

with the echo in a loop so it gets all the values..

just a thought..

Cheers

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to