Hello, I want to make sure the email results from feedback forms no longer show the submit button field and form value
See, I use a loop to display the results via form thanks to a neat trick I learned here:
foreach ($HTTP_POST_VARS as $var => $value)
{
$message .= "$var = $value\n";
}
(That is what spits out the form results to me via email)
But what bites is it shows ALL, including the submit button value. SEe, below is what I would receive, see the last line:
Name = test
Address = test2
Phone = test3
Fax = test4
Email = test5
Best_Time = test6
Message = test67
B1 = Submit
*B1 = Submit
How do I do the loop I use above for email form responses, but make it eliminate the LAST form field and value?
So if there are 10 fields and submit, it just shows 10 fields and their values, and not the submit field and value?
Thanks, and I checked the manual, I did not see that solution