Re: SELECT unique possible?

From: Date: Sat, 02 Sep 2000 02:17:35 +0000
Subject: Re: SELECT unique possible?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14898@lists.php.net to get a copy of this message
SELECT distinct email, your, other, fields from emails; -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more __ On Sat, 2 Sep 2000, Jonathan Chum wrote: > Date: Sat, 02 Sep 2000 01:01:36 GMT > From: Jonathan Chum <jchum@techdevelopers.com> > 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 (#14898) next »