I am working on MysQl Db with PHP at server side. Client side is Javascript.
I populate a drop down combo on the screen with certain values. Once a value is selected, I need to get details pertaining to the selected value from the database again. How do I do it. Matter is most urgent
urgent help
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
for eg
value of selected 'menu item' -> malcolmboston
create an array
then print it back out to the screen
this will give you all of the information about the value in the box, in this case, malcolmboston
value of selected 'menu item' -> malcolmboston
Code: Select all
mysql_query ="select * from table where something = $valueofboxthen print it back out to the screen
this will give you all of the information about the value in the box, in this case, malcolmboston