|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Drop down box resets when Submit is clicked
I have a drop down box that is populated from a MySQL database. When the user chooses an option from the list and clicks "Submit" the form calls itself ($PHP_SELF) but when the screen is re-drawn the user's choice is no longer showing in the drop down list but rather the first option from the list.
Is there a way I can make the form remember the user's choice so that is displays in the drop down after submit has been clicked? Thanks in advance. |
|
#2
|
|||
|
|||
|
RE: Drop down box resets when Submit is clicked
|
|
#3
|
|||
|
|||
|
RE: Drop down box resets when Submit is clicked
Only half an hour to respond? What took you so long?
That's EXACTLY what I was looking for. Thank you very much, and so quick too. Thanks again. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Drop down box resets when Submit is clicked |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|