Hello all,
I have a select box in a form whose options are loaded from a mysql database through php(this works) and whose options can be moved up and down using javascript UP and DOWN buttons to change the order(these work). I've made several unsuccessful attempts at storing and updating the order of the list.
My plan now is to store the new order in a php array once a change order submit button is clicked. When the page reloads and the array is posted through a hidden input field, the mysql code is processed and the order is updated and loaded in the same select box.
Am i going about this the right way or does someone have a better idea or have a sample for me to look at?
Thank you in advance for any knowledge you pass on!
pkrk