Another option under same condition is:
'SELECT MAX(ID) AS LASTID FROM MY_TABLE'
Alex Chau
Niklas Lampén wrote:
If you have ID that is a incrementing number, you could just query like
this:
'SELECT ID FROM MY_TABLE ORDER BY ID DESC, LIMIT 1'
And there you have just one result, the last
I have a php script sending newsletter to a mailing list time by time,
but some emails are no longer exist, so I need to remove them manually.
Can php detect whether an email address is a valid one, then remove it
from the list automatically? no matter before or after the newsletter
has sent.
2 matches
Mail list logo