# !\_\_some changes on Kirupa´s PHP FORM

**URL:** <https://forum.kirupa.com/t/--some-changes-on-kirupa-s-php-form/142177>\
**Category:** Uncategorized\
**Created:** [March 26, 2005, 4:45am UTC](https://forum.kirupa.com/t/--some-changes-on-kirupa-s-php-form/142177 "2005-03-26T04:45:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![multimediamkt](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)\
**Post date:** [March 26, 2005, 4:45am UTC](https://forum.kirupa.com/t/--some-changes-on-kirupa-s-php-form/142177/1 "2005-03-26T04:45:14Z")

</div>

[FONT=Arial]I need someone to help me out with some changes on Kirupas PHP FORM :

1- Instead of echo “Data has been submitted to $to!”; I wish the redirection to a Thank You Page URL ;

2- If the the input types below are left in blank  
\<input type=“checkbox” name=“check[]” value=“blue\_color”\> Blue\<br\>  
\<input type=“checkbox” name=“check[]” value=“green\_color”\> Green\<br\>  
\<input type=“checkbox” name=“check[]” value=“orange\_color”\> Orange\<br\>  
then the message below comes up :  
…  
Warning: Invalid argument supplied for foreach() in /home/sites/www.vazzolaconsultoria.eti.br/web/mailer.php on line 12  
Data has been submitted to [anything@anywhere.net](mailto:anything@anywhere.net) !  
…  
is there a way to fix this problem without validating the form  
( I find it a bit complicated to validate the form , I am just getting started with PHP , I´ve seen some PHP codes to submit and validate forms and what a headache !)  
Cheers[/FONT][SIZE=3][COLOR=Indigo]
