gangsterwanster1 Posted August 15, 2009 Share Posted August 15, 2009 Is there a way to get a image to act as a command button? Meaning in commandbuttons you get this, <input type="submit" name="submit" value = "22" so that it redirects you or does a action. Can i acomplish the same thing but with a image? Link to comment https://forums.phpfreaks.com/topic/170351-command-button-image/ Share on other sites More sharing options...
gangsterwanster1 Posted August 15, 2009 Author Share Posted August 15, 2009 would the different be how it starts but the values are the same? (<img src=) Link to comment https://forums.phpfreaks.com/topic/170351-command-button-image/#findComment-898808 Share on other sites More sharing options...
haku Posted August 17, 2009 Share Posted August 17, 2009 <input type="image" ... /> Careful on the php side though - you have to check for the button having been pressed differently than when you use type="submit". You can also try styling the button with a background image, or using <input type="button" ... /> Link to comment https://forums.phpfreaks.com/topic/170351-command-button-image/#findComment-899731 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.