not sure how to do this but say i have a table with a bunch of items owned by userID 5, I want to make it so that if i search for a specific item from that user, all of his items will show up, but the item searched for will appear first and the rest of the items will follow. For example:
Items table
-----------
itemID userID itemName
1 5 Coffee Mug
2 5 iPhone
3 5 LCD Monitor
4 5 Macbook pro
5 5 Shell
So say i do a search for an iPhone, i want my results to return all of userID’s items (WHERE userID=5), but… I want the iPhone item to be at the top of the list! Thanks all for your help!
damien
1 Answer