does anyone have a script example, or seen a script example where one can draw random images from a mysql database using code:
select * from table order by rand()
Then after the result set is created, use limit to page through the results.
The rub is, when you limit the results, you want to keep each block for each page the same. I find when I do this, it orders by rand() each time, and it doesnt bring up a set result set.
I was thinking of putting it in an array or using session handling to remember the first block of id's created.
Does someone have a better idea, and can show me what they would do?
Many thanks in advance