steply Posted February 17, 2004 Share Posted February 17, 2004 I am adding a second select menu on a php search pg, with repeat recordset results on the same page. A seperate search independent from the 1st menu; a single word search, different subject, but using the same MYSQL statement. The form action is set to this page address, "get". Also for this 1st select menu : <select name="menu3" > So menu3 is the run-time variable for the SQL statement. This breaks into mainly a two part question: 1) Can I simply double the select name of <select name="menu3" > and use it in to the second select menu on this page or does this new menu need a different select name, in addition to a different name identified with the action? 2) With the runtime variable of the first menu set to: default value 1 $HTTP_GET_VARS['menu3'] -Can I add a second runtime variable, say $HTTP_GET_VARS['menu4'] -- if there needs to be second select name -- Or better yet, is there a way to write them as the same runtime time value together maybe 'menu3,menu4' or how? I don't know. -So the edit will be made easier, cleaner on the page too. Link to comment https://forums.phpfreaks.com/topic/1675-mx-adding-another-select-menu/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.