I need to change an existing listings page with pagination.
Each page shows 10 listings and they are ordered by the date they are added to the site.
Now recently added listings show up in the first page. I need to get all the listings to come on the first page by rotating the showing of listings perhabs each day (each page should only show 10 listings).
Thus first day showing first 10 listings in the first page and the next day showing the next 10 listings and this should continue in a rotational manner.
I thought of using Random option in mysql query, but since it has pagination this option wouldn't workout.
Is there any simple and efficient way to do this (though I am not proposing any complex solution either)
Thanks Geeks
Each page shows 10 listings and they are ordered by the date they are added to the site.
Now recently added listings show up in the first page. I need to get all the listings to come on the first page by rotating the showing of listings perhabs each day (each page should only show 10 listings).
Thus first day showing first 10 listings in the first page and the next day showing the next 10 listings and this should continue in a rotational manner.
I thought of using Random option in mysql query, but since it has pagination this option wouldn't workout.
Is there any simple and efficient way to do this (though I am not proposing any complex solution either)
Thanks Geeks
Comment