Jump to content

Mx, adding another select menu


Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.