User Profile
Collapse
-
Thank you. Im sure that should make sense to someone more experienced but I am still not quite clear. Below is another portion of the code that monitors the selection in #msg-room. The portion of code does work because I am able to change rooms successfully. Im just having the toughest time trying to pass the selection on as a variable. I hope Im making sense. The site was (partially) built for me by a developer I hired and has now vanished so I... -
The select box has an id=msg-room. How would I display the currently selected value as another page's heading?Leave a comment:
-
How to store a select menu value in a variable
Hello I am having an issue assigning a variable to a select box selection so that i can feed the variable back into future queries. Please see code below:
...Code:<select name="room" id="msg-room"> <?php $query = mysql_query("SELECT * FROM rooms ORDER BY ROOM asc"); while($data = mysql_fetch_assoc($query)) {
No activity results to display
Show More
Leave a comment: