TomJeffries TomJeffries - 2 years ago 94
PHP Question

What are C++ arrays in PHP?

Found the solution. All I have to do is wrap the email addresses with quotes.

(I need to go through a mailing list and send the mail when the program hits a comma. This is a bit confusing- it works in C++!)

Answer Source

You could just use explode(",",$list_of_emails) and then loop over the resulting array of email addresses to do your sending.

You could also probably do this in bash with cut and/or xargs.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download