Good day...
I have a data that I want to edit using dropdown box.

example:

select name,gender from people

take the values in a textbox:

name: <dropdown box> -- I can use the dropdown box to change my selection
gender: <dropdown box> -- I can use the dropdown box to change my selection

Question:

1.) what code can I use to search for the selected name in the database and put it in a dropdown box together with its other names in the database so that I can change it.

Thank you very much!

    You can use PHP code :rolleyes:

    A bit more specific...it sounds like you are selecting 2 options from your 2 drop down menus there, and will then hit submit to get your results.

    Write up a script that on submit, will do a SELECT to a database and will return the results based on the search criteria.

      Write a Reply...