Whenever I submit this form I get the below errors. And I've tried everything I know to stop them.
Warning: Undefined variable: Style in C:\Inetpub\ on line 3
Warning: Undefined variable: HaveProperty in C:\Inetpub\ on line 3
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\ in C:\Inetpub\ on line 6
<?php
$subject="Contact Us Form - Crossroads Web Site";
$comments=stripslashes("Square feet of living space: @$Square_Feet \nBudgeted for your new home: @$Budgeted \nStyle preferred: @$Style \nNumber of Bedrooms: @$Bedrooms \nNumber of Bathrooms: @$Bathrooms \nCurrently have a property: @$HaveProperty \nProperty located: @$LOACTED \nYear you want to build your new home: @$Whatyear \nName: @$Name \nAddress: @$Address \nCity, State, Zip: @$City_State_Zip \nPhone: @$Phone \nEmail Address: @$Email \nComments: @$comments"
mail("jessica@compunet1.com",$subject, $comments);
Header("Location: ?>
If anyone has a clue, I would be much appreciative. Here is a link to the site as well It's just emailing me right now so feel free to try it out.
Thanks,
Jewel When faced with a decision, always ask, 'Which would be the most fun?'
Warning: Undefined variable: Style in C:\Inetpub\ on line 3
Warning: Undefined variable: HaveProperty in C:\Inetpub\ on line 3
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\ in C:\Inetpub\ on line 6
<?php
$subject="Contact Us Form - Crossroads Web Site";
$comments=stripslashes("Square feet of living space: @$Square_Feet \nBudgeted for your new home: @$Budgeted \nStyle preferred: @$Style \nNumber of Bedrooms: @$Bedrooms \nNumber of Bathrooms: @$Bathrooms \nCurrently have a property: @$HaveProperty \nProperty located: @$LOACTED \nYear you want to build your new home: @$Whatyear \nName: @$Name \nAddress: @$Address \nCity, State, Zip: @$City_State_Zip \nPhone: @$Phone \nEmail Address: @$Email \nComments: @$comments"
mail("jessica@compunet1.com",$subject, $comments);
Header("Location: ?>
If anyone has a clue, I would be much appreciative. Here is a link to the site as well It's just emailing me right now so feel free to try it out.
Thanks,
Jewel When faced with a decision, always ask, 'Which would be the most fun?'