Vous devez utiliser "ORDER BY FIELD ". Ainsi, par exemple :
SELECT * FROM table WHERE id IN (118,17,113,23,72)
ORDER BY FIELD(id,118,17,113,23,72)
Vous devez utiliser "ORDER BY FIELD ". Ainsi, par exemple :
SELECT * FROM table WHERE id IN (118,17,113,23,72)
ORDER BY FIELD(id,118,17,113,23,72)