Hi, I have a database of 300 email addresses retrieved with a select statement.
while ($row=mysql_fetch_array($result)) { $email_addresses[] = $row['email']; } But I have having trouble assiging them to the variable $recipients. Really what i want is to convert $email_addresses[0] = [EMAIL PROTECTED] $email_addresses[1] = [EMAIL PROTECTED] $email_addresses[2] = [EMAIL PROTECTED] into $recipients= "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]"; Two points here... (i) I believe php uses comas (,) instead of semi-colons(;) between the email addresses (ii) does the space between addresses matter? I would rather have it as my user could see the recipeints more clearly. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php