Refreshing Edit Form

I want a form to edit my mysql data in the following manner. Can anyone help?

A select box will load in which user will choose one of the option say he chooses “A”.

Depending on the option that the user chooses another select box will appear with the first one still showing up with “A” selected. Now he chooses “B” in the second select box.

The form reloads with “A” being selected at the first one and “B” at the second and now some other text fields will appear depending upon these two choices. I can do the rest.

The requisites are on first appearence only select box 1 will appear

After refreshing/submission, the first and the second select box will appear

Again after submission, the first, second and the rest text fields will appear.

I want this in a single page, This is for the admin section of one of my site and I want to edit/delete the data through this form.

Please help.

Sudip:hugegrin: