Re: [PHP] Getting the last record in a mysql table

2002-01-17 Thread Alex Chau
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

[PHP] can php detect whether an email address is a valid one?

2001-11-13 Thread Alex Chau
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.