dmccabe Posted June 23, 2008 Share Posted June 23, 2008 I have a form that displays info from a database and displays it in editable fields. I then want 3 buttons at the bottom UPDATE / DELETE / CANCEL However all the forms I have done before you dont specify what the button itself does, but rather the action of the form, so I wondered how I tell it what to do depending on which button was clicked? Link to comment https://forums.phpfreaks.com/topic/111475-solved-form-buttons-to-do-different-actions/ Share on other sites More sharing options...
shelluk Posted June 23, 2008 Share Posted June 23, 2008 I have found this with a bit of Googling: http://www.daniweb.com/forums/thread63192.html Link to comment https://forums.phpfreaks.com/topic/111475-solved-form-buttons-to-do-different-actions/#findComment-572148 Share on other sites More sharing options...
dmccabe Posted June 23, 2008 Author Share Posted June 23, 2008 Thanks for that, worked a treat! Link to comment https://forums.phpfreaks.com/topic/111475-solved-form-buttons-to-do-different-actions/#findComment-572165 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.