I got stuck!!! I have a list of items say around 10 with respective check boxes and prices. I should be able to select say 5 items randomly from that list and display it in order.
For example i can select items 2, 5, 7, 8 and 10 and then on clicking submit button, it should take me to a different page where my selected items are arranged in order (1, 2, 3, 4 and 5 ) with names and price. The trick part is that it should not be java-scripted or any other external script.