I'm not expecting this to be possible, but I thought I'd ask.
I have 2 queries that I want to make into 1.
"SELECT email FROM email_list"
"SELECT COUNT(email) FROM email_list"
So everyone knows what I'm trying to do, I have a simple php mail() script that selects the email address (based on the WHERE statement), and then I count the # of emails that were emailed (using the second query).
Is there a way to converge those 2 queries into one statement?
thanks