hi. i have a <select> list in a page as part of a form. the user can change the order and contents of the <select> before submitting the form. the actual selected value is not relevant.
i can get all form variables, parse/modify them, and dump them into a database with no problems - except! - the order of the select contents.
in javascript you could have a function like
var theList ="";
for (i = 0; i <= list.options.length-1; i++) { theList += list.options.value + ""; }
or somesuch which takes the select list items one at a time, and concatenates them with the ^ separator into a single var.
that's not a lot of help though because i can't get javascript vars in a separate (the form target) php page, and can't find a pure php way of getting the <select> items in order.
any ideas ? many thanks...
ed c