[thelist] Reordering result set (PHP/MySQL)

r937 rudy at r937.com
Mon Feb 4 09:07:58 CST 2008


a rough ride?    pffft, it is to snap ze fingers


select * from tracks 
where id in (3,7,2,1)
order by field(id,3,7,2,1)


;o)


rudy
http://r937.com/






More information about the thelist mailing list