Shuffling paginated records by page

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 1, 2014   (RSS)

By Damon - December 31, 2013

Hi Jerry,

Try out something like this:

<?php shuffle($my_list_tableRecords);

<?php foreach $$my_list_tableRecords as $record): ?>
 
 etc....


Let me know if this works for you.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Hi Damon,

Happy New Years wishes to you and all.

Thanks for looking at this.

 I assumed that it would will shuffle all records and not per page, and so never tried it.

You were right, it worked, and made sense.

Thanks

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php