RE: [PHP] SELECT unique possible?

From: Date: Sat, 02 Sep 2000 01:07:40 +0000
Subject: RE: [PHP] SELECT unique possible?
Groups: php.general 
Request: Send a blank email to php-general+get-14894@lists.php.net to get a copy of this message
something like SELECT DISTINCT address FROM emails should do what you want. Ollie ----------------------------------- Ollie Cook +44 (7946) 057 198 Programmer, XCalibre Communications ----------------------------------- > -----Original Message----- > From: jchum@techdevelopers.com [mailto:jchum@techdevelopers.com] > Sent: 02 September 2000 02:02 > To: php-general@lists.php.net > Subject: [PHP] SELECT unique possible? > > > In my PHP script, I'm trying to send an email to people. What I've > done is a SELECT * FROM emails and then ran a while loop to email. > Some folks have the same email so they get double emails. Is there > mySQL way to select only unique address rather than the whole bit? > Thanks > > -- > 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 (#14894) next »