I have my coding below which basically takes id strings from a site that sells products, this data is then saved to a .php file in the following order:
sid, nam, sid, nam, sid, nam, sid, nam etc
This is great because I then load this saved file on another section of my site and explode the data to use in a form. They only issue is I can not figure out how I would give the user an option to select in which order these id's are saved. At the moment they are just save in the way they come from the site. I need to be able to give an option to change the order in which they are save to the file in the way of a form or something.
Maybe, a list of all the ids in a dropdown box, then replicate this dropdown box for the amount of ids there are, then get the user to select the order in which they want them to display. But it would have to take away from the next dropdown list the one that has been selected in the dropdown box before it.
Code: Select all
Best wishes,
Jason