I made links from my webpages to my gallery using the search query as output like this:
http://www.mywebsite.com/gallery/thumbnails.php?album=search&type=full&search=insertkeywordhereThen using a database I supply the url with a corresponding "insertkeywordhere" so when clicked goes automatically to the search results.
I've noticed that the results are always in order arranged by date. Since I have several pictures, I wanted the results to be generated in a random order, not sorted by date, title or filename. Is there a way to achieve this ?
So if I had 5 pictures from event1 and another 5 pictures from event2 which was posted another day, I'm hoping to achieve a search result of these 10 pictures not in order (event1pic1, event1pic2... event2pic4,event2pic5).
I want the search results to be displayed randomly... for example like this:
(event2pic2, event1pic5,event1pic3,event2pic1,event1pic4...).
Is this possible ? Any suggestions would be greatly appreciated.