tmyonline Posted July 30, 2007 Share Posted July 30, 2007 Dear all, I'm supposed to create a site that allows users to response to online questions. In particular, I was asked to create a reply button at the end of each question so that when users click the reply button, it will automatically drop down a form (instead of linking to another page) that allows them to type in their response and click the submit button. The information is supposed to be sent through email. My question is how to code it in PHP so that I can create a drop-down form when the button is clicked. Thanks. Tommy Quote Link to comment https://forums.phpfreaks.com/topic/62577-how-to-create-a-drop-down-form-in-php/ Share on other sites More sharing options...
hitman6003 Posted July 30, 2007 Share Posted July 30, 2007 You'll have to use Javascript, not PHP, to do what you want. Quote Link to comment https://forums.phpfreaks.com/topic/62577-how-to-create-a-drop-down-form-in-php/#findComment-311468 Share on other sites More sharing options...
jbrill Posted July 30, 2007 Share Posted July 30, 2007 this is all you need right here: http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm Quote Link to comment https://forums.phpfreaks.com/topic/62577-how-to-create-a-drop-down-form-in-php/#findComment-311471 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.