Hello,
how can i build a mysql select that read an array and order the results according to the sequence found in the array.
**Ex.
**
I have two tables, gallery and images.
On gallery i have a column called order. the content is a array (Ex. 4, 2, 3, 1)
this numbers are the id´s of the images.
I have an image gallery adm. system. The user can change the order of images.
I can save this order on line order. ok.
But I can not do that, the system read this order and open the images in this order.
If anyone can help, thanks