Home >Backend Development >PHP Tutorial >How to get the name value passed by the image button in php
How to get the name value passed by the image button in php
I need to use image buttons to beautify my web, but using the connection transfer method will cause variable values to appear in the browser bar, which looks uncomfortable. If I use hidden to submit, I don’t think it is necessary, because since the image has the name attribute , it should be able to be obtained, why add an extra variable? I posted it on bbs for several days and no one answered, so I had to read the book and think of a solution, and then I found it!
The above introduces how to obtain the name value passed by the image button in PHP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.