zenon905 Posted March 15, 2008 Share Posted March 15, 2008 What's the code to submit input from a text box into an option in a drop down menu? Link to comment Share on other sites More sharing options...
jeffman Posted March 15, 2008 Share Posted March 15, 2008 What is the sound of one hand clapping? Link to comment Share on other sites More sharing options...
Synook Posted March 15, 2008 Share Posted March 15, 2008 I.e. what do you mean? Text boxes and drop down menus are both forms of input. Link to comment Share on other sites More sharing options...
zenon905 Posted March 15, 2008 Author Share Posted March 15, 2008 If you type apple in the text box and click submit, apple will appear as an option in the drop down. Link to comment Share on other sites More sharing options...
jlhaslip Posted March 15, 2008 Share Posted March 15, 2008 Do you want to keep adding stuff to the drop-down list permanently? If so, then you will need a file or database solution. We will need to know this answer before we can assist you. Link to comment Share on other sites More sharing options...
zenon905 Posted March 15, 2008 Author Share Posted March 15, 2008 Permanently, and maybe a reset button to empty the list. Link to comment Share on other sites More sharing options...
jlhaslip Posted March 15, 2008 Share Posted March 15, 2008 Anything else we might need to know? Would the results be kept in a database? or a file? Link to comment Share on other sites More sharing options...
zenon905 Posted March 16, 2008 Author Share Posted March 16, 2008 Uh...how do I do that? Link to comment Share on other sites More sharing options...
w3skul Posted March 17, 2008 Share Posted March 17, 2008 Anything else we might need to know? Would the results be kept in a database? or a file?I think he just want how to do that . Database or file not important here . But If you can , just make both 2 solutions . I think maybe we need more languages than HTML/XHTML . Link to comment Share on other sites More sharing options...
Synook Posted March 17, 2008 Share Posted March 17, 2008 Yes - you will need a server-side language. if you just want to use a flat file, have a look at the file_get_contents() and fwrite() PHP functions. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.