Thank you but I don't want it to order by datum I want it to write it out in the exact order of the query.
I am going to use this code in a shoppingcart and datum is like the product ID and the order is the order people has added the item to the cart.
I have some variables in cookies so I really need everything in the right order. Otherwise the cookie values and the values from the Database doesn't match up.
You could say it gets like this now:
1...3
2...2
3...1
I want it like:
1...1
2...2
3...3
where left numbres are cookie values and right numbers are values from the database.
(In the cookies I store things that users has selected, like color and quantity.)