i have made a mail/contact form with the kirupa tutorial ( http://www.kirupa.com/web/php_contact_form2.htm) and it sends the email fine but when you hit submit it goes to a blank page with this text
*Warning: Invalid argument supplied for foreach() in /home2/dravala/public_html/njt/mailer.php on line 11
Data has been submitted to dravalanche00@hotmail.com!
*
I was wondering how make it so when you hit submit it just says ‘email sent’ in the message box.
This is the page http://www.dravalanche.com/njt/contact.htm
thanks.:}