Hi,
I have an array with ID values. Let's say it looks like this - $a = array(23,4,56,21,9);
What i need is to select rows with those ID's, but in exact same order as in the array. What would be the best way to do that? If i use MySQL function IN(23,4,56,21,9) without specifying order, would that work?
Thanks