Problem:
I want to be able to switch the visual ordering of information within my <form> field. More specifically I would like to be able to select an <option> and either move it "up" or "down". This should be achieved using a click of the option (to select it) and a click of either an "up" or "down" button.
Approach thus far thats working:
Created a form thats populated with options from php.
Using javascript the user can select an option then alter the order via "up" or "down" <input> button.
Whats not working:
The data that is reordered is purely visual. When a call is made to the php file to present new data (or alter the current data say with an "edit" button) the original order is restored! I cannot get my php file to use the new order of the data before it makes any other changes.
I would like to know what is the proper approach/concept for taking this manipulated data and feeding it back to the MySQL via php? Please let me know if I can explain this better.
pkrk