![]() |
|
| |||||||
| Notices |
| Customer Website Reviews - Your Testing Ground Are you ready to show your website to the world? Are your hyperlinks working?, Do you have any spelling mistakes or grammatical errors? How does it look? How can it be improved? Have your website reviewed and critiqued by other VodaHost Community Forum Members. DO NOT BE SHY!!! We want to see it , we are here to help each other. This is your testing ground. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
|
I created a form so that the ball teams could update thier records and pitch counts via eamil to me. Problem is that when they hit submit the thank you page is not loading. Here is the script I copied and pasted with my edits. <?PHP $mailto = "edavi179@mtco.com"; $email = $HTTP_POST_VARS['email']; if ($email == "") { $email = $mailto; } $mailsubj = "Update form results"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form :\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { if ($key!="submit") { $mailbody .= "$key : $val\n"; } } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> Could someone tell me what up? |
|
#2
| ||||
| ||||
|
Did you add that script to a page that you published as a .php file? Are you sure your form's action is this page?
__________________ Register/Login Script Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script |
|
#3
| ||||
| ||||
|
Yes I found what I did wrong, I watch the video several times more and realized that when I set the action to action.php it did not match my thank you page witch I named thank_you.php. Made the two match and holy cow it worked. But thanks for your help Ed Davidson www.marseillesyouthsports.com |