keep drop down boxe selections?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
garyed
Forum Newbie
Posts: 13
Joined: Fri Feb 20, 2009 6:45 pm

keep drop down boxe selections?

Post by garyed »

Is there a simple way to keep all selected drop-down boxes exactly as they were selected after submitting a form.
I'm not just asking about keeping the selected values but the selections as they appear to the user at the time they submit.
In javascript by default it keeps the form in tact after submitting but I can't figure out how to do it in php.
I'm working on something that will probably end up with a hundred or more selections & I don't want the selected box cleared off the screen after clicking "submit".
Any help greatly appreciated
Post Reply