How to order the images in a mysql database?
- by user305270
Hy!
Here is my problem: i have a profile and this profile has for example 100 images.
When someone visit this profile the first image will be the first result of my query that sorts by updated_at.
But if the user would want to put the image with the (id = 8) to be the first, then (id = 22) then (id = 88) and so on?
I need to put another field or is really necessary a new table to make a custom sort on images? and maybe someone explain this to me how to do?
thanks, i appreciate your help ;)