Hi there,
Anyone know how to get profiles populating a repeater from a database to appear in random order each time the page loads? Thanks
Emma, a long-long time ago Tal answered this question in full, with code to do this.There are basically 2 ways to achieve this:
- query db, do the randomization afterwards, in code (Tal´s solution)
- query db and sort on a random field (date, number, string) either ascending or descending
It´s in here somewhere (solution 1), just do a search.