Jump to content

Archived

This topic is now archived and is closed to further replies.

tauchai

query from the drop down menu

Recommended Posts

i couldn't found the code for the query using the drop down menu...if anyone hae similar code or know how 2 do, could u plz copy to here?

i want to query the database to get the result of the room and its inventory from two tables ( table room and table inventory) using the drop down menu..

actually total got 3 table ,include room type ( to show disccusion room, meeting room etc)


the structure looks like this : select room type : drop down menu

select room name: drop down menu

Result is down here:

...........................................................................................

plz help....

Share this post


Link to post
Share on other sites
It is not clear exactly what you are wanting to acheive.

Share this post


Link to post
Share on other sites
it means based on the user input throught the drop down menu, we provide the result...the result is retrieved from the database....then the result is shown down there of the same page....based on the input from user (drop down menu). of coz there is a "query" button for user to submit....do u understand? hope so..hehe.. [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]

plz help.....

thxs..

Share this post


Link to post
Share on other sites

×

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.