Contact page form
3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 5, 2009 (RSS)
hi,
I have created a contact form on one of my pages. however, i keep getting the following error: Notice: Undefined index: frmEmailUs in C:\Users\Dani\Documents\xampp-win32-1.6.6a\xampp\htdocs\janizm\contact.php on line 34 .
Please find attached the code.
Any suggestions would be most grateful! Thanks.
I have created a contact form on one of my pages. however, i keep getting the following error: Notice: Undefined index: frmEmailUs in C:\Users\Dani\Documents\xampp-win32-1.6.6a\xampp\htdocs\janizm\contact.php on line 34 .
Please find attached the code.
Any suggestions would be most grateful! Thanks.
Re: [dsternalski] Contact page form
By Chris - September 4, 2009
Hi dsternalski,
Try replacing this line:
with this one:
Hope this helps! :)
Try replacing this line:
<?php if(strlen($_REQUEST['frmEmailUs'])) { ?>
with this one:
<?php if(strlen(@$_REQUEST['frmEmailUs'])) { ?>
Hope this helps! :)
All the best,
Chris
Chris