tsclan
08-25-2004, 02:01 PM
I have got a list of emails in mysql databse and want to use those emails in the php mail function. But for multiple emails you need a comma bettween the emails excpet for the last one where there is no comma at the end.
how can I extract the data so that it has a comma between the emails and no comma at the end of the list?
Oh and another thing what do i put in the MYSQL SELECT if I want only there emails if their "position" is either "admin" or "articles"
thanks
how can I extract the data so that it has a comma between the emails and no comma at the end of the list?
Oh and another thing what do i put in the MYSQL SELECT if I want only there emails if their "position" is either "admin" or "articles"
thanks