Hi Everyone,
This is a repost of thread216-1287339 in the javascript-forum (no replys, so I assume i posted it in the wrong forum)
I made a little database (mysql), then wrote some php and html to create and fill a listbox. Works.
Now I want the user to select a value from the listbox (a country), maybe click a button, and then display in a textbox what the corresponding countrycode is.
Example:
User Selects 'The Netherlands' from the listbox. Then presses 'button', and then the countrycode of the Netherlands is displayed (0031). How would I go about that?
Pampers
Keeping it simple can be complicated
This is a repost of thread216-1287339 in the javascript-forum (no replys, so I assume i posted it in the wrong forum)
I made a little database (mysql), then wrote some php and html to create and fill a listbox. Works.
Now I want the user to select a value from the listbox (a country), maybe click a button, and then display in a textbox what the corresponding countrycode is.
Example:
User Selects 'The Netherlands' from the listbox. Then presses 'button', and then the countrycode of the Netherlands is displayed (0031). How would I go about that?
Pampers
Keeping it simple can be complicated