Jul 18th, 2009, 10:00 AM
Hmm.. one possibility that is that maybe when you use an image as your submit button, the name-value pair of that image button isn't sent along with the POST request. Try this: you know where you specify the name value of the submit button in the PHP? This bit:
Change "submit_button_name_attribute" to the name attribute of ANOTHER field in your form - any textbox should be fine. If you don't have one, create a hidden field and use the name attribute of that.
Let me know if this helps at all... I'm curious to know if this was the problem!
- Ben
PHP Code:
$params = array(
"submit_button" => "submit_button_name_attribute",
"next_page" => "thanks.php",
"form_data" => $_POST
);
Change "submit_button_name_attribute" to the name attribute of ANOTHER field in your form - any textbox should be fine. If you don't have one, create a hidden field and use the name attribute of that.
Let me know if this helps at all... I'm curious to know if this was the problem!
- Ben