# Mail form help!

**URL:** <https://forum.kirupa.com/t/mail-form-help/237328>\
**Category:** Uncategorized\
**Created:** [August 29, 2007, 1:10pm UTC](https://forum.kirupa.com/t/mail-form-help/237328 "2007-08-29T13:10:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dravalanche](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dravalanche](https://forum.kirupa.com/u/dravalanche)\
**Post date:** [August 29, 2007, 1:10pm UTC](https://forum.kirupa.com/t/mail-form-help/237328/1 "2007-08-29T13:10:01Z")

</div>

i have made a mail/contact form with the kirupa tutorial ( [http://www.kirupa.com/web/php\_contact\_form2.htm](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](mailto: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](http://www.dravalanche.com/njt/contact.htm)

thanks.:}
