Re: mysql php - help needed
SELECT * from MyTable where date_of_birth = CURDATE() and where EXISTS (SELECT email FROM mytable);
should work.
Also you could try ...and where email <>"";
or something in that line.
Last edited by activeco : 03-11-2008 at 04:49 PM.
|