faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 8 people (38%) answered Yes
Recently 3 of 8 people (38%) answered Yes

Entry

I am sending emails one at a time using foreach. How do I outout to html as each one is processed?

Mar 15th, 2008 18:09
ha mo, Matthew Wilkinson, Alan Pollenz,


Add a call to echo in the loop.
foreach($emailarray)
        {
        email(......);
        echo "E-mail successfully sent to: ......";
        }
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.mozmar.com
http://www.yamot.com
http://www.templatestemp.com