Values Submitted in HTML Image Button Fields
What Are the Values Submitted on Image Button Fields?
An "image" button input field does not allow viewers to enter any input values directly. But if an "image" button is clicked, the mouse position on the image button will be submitted with other input values to the processing program based on the following rules:
If you use the previous tutorial example, you can test the following cases:
1. If you click the first image button, you will get the following value submitted:
2. If you click the second image button, you will get the following values submitted:
3. If you push the third submit button, you will get the following values submitted:
2017-04-04, 255👍, 0💬
How To Support Multiple-Page Forms in PHP? If you have a long form with a lots of fields, you may wa...
How To Upload Files into Database in PHP? To store uploaded files to MySQL database, you can use the...
How To Run a PHP Script? A standard alone PHP script can be executed directly with the PHP Command L...
Where to find tutorials on how to Read and Write Files in PHP? A collection of tutorials to answer m...
Why Do You Need to Filter Out Empty Files in PHP? When you are processing uploaded files, you need t...