I have an html form with action on a php script. And I’ve set the submit button to have a custom image, and not to show up as the default grey thing. I’ve tested the code in chrome, and the php script works fine (meaning, the submit button successfully calls and executes the php script, upon clicking it). This same code however does not work in IE 7.
Could you please let me know how to get it to work with IE 7 as well (I need support for IE 7)-
Code:
<form action="some_php_script.php" method="post">
<input type="image" src="submit-button.png" name="submit-plus" id="submit-plus" value="submit" />
</form>
On a related note, I have one more question –
the above form currently references the “some_php_script.php”. Can i have a php snippet be written in this html section so that it can pass some values in the script url, like below –
<form action="some_php_script.php?page=12" method="post">
(Basically, I want the ?page=12 to be passed dynamically based on someother value in the current page.)
Thanks!
try with
Reference