i am makeing a mailing list manager, let's say i have 50 email addresses in datbase to which i want to send a email.
useing the code below will take ages to send one email at a time
Code: Select all
$query = mysql_query("select name, email from table bla bla");
while(list($name, $email) = mysql_fetch_row($query))
{
bla bla bla bla
}and if i load the all the email addresses into a array and send it then all users will see other users email addresses....
if this made sense to you then what do i do? what do i need to do to make sure that the emails are sent to all users, and the users don't see others email addresses.....
thanks alot for your time.
- Qads