frijole Posted March 12, 2008 Share Posted March 12, 2008 If i give a form button a name like buttonValue and the button is pressed to submit the form, what value will it hold? i.e. what will $_REQUEST['buttonValue'] be equal to? I am asking this so I can make a switch statement. Link to comment https://forums.phpfreaks.com/topic/95844-what-value-does-a-form-button-return/ Share on other sites More sharing options...
trq Posted March 12, 2008 Share Posted March 12, 2008 Why dont you test it and see. Link to comment https://forums.phpfreaks.com/topic/95844-what-value-does-a-form-button-return/#findComment-490663 Share on other sites More sharing options...
haku Posted March 12, 2008 Share Posted March 12, 2008 No kidding. But to answer the question, it returns whatever value you set to the button. Link to comment https://forums.phpfreaks.com/topic/95844-what-value-does-a-form-button-return/#findComment-490668 Share on other sites More sharing options...
frijole Posted March 12, 2008 Author Share Posted March 12, 2008 I would, but I am at work right now and I can't access my ftp. Link to comment https://forums.phpfreaks.com/topic/95844-what-value-does-a-form-button-return/#findComment-490676 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.