I'm trying to order results of a MySQL query based on a users set data in a field under their row.
I have a table called "assigned", set up like this:
id user_id item_id
-- ------- -------
1 1 1
2 1 23
3 1 304
I want to be able to order these results based on the users table which will be stored like this:
3,1,2
Any ideas?