I have an array with member IDs.
I convert it into a string
$MemIDs = implode(",", $IDs);
and then query my database looking for these ids
WHERE memberID IN (".$MemIDs .")
and output info through FOREACH statement.
Is there a way to order results according to the order of the array by either doing it withing query or foreach ?
Actually what I really need is to get the member whose ID is the first one in my array to be on the top of the results.
