I would like to make a system where I can cycle through records in my database, always using a random algorithm. So for example if I have a 100 records and I select 10 of these records that will grab me 10 records but the next time I run the cycle I would like to grab another 10 of the records from a total of 90. Then when you run the cycle again it will grab 10 from the 80 records in total. Once you reach the last 10 it will then reset it back and start grabbing from the start.
But this needs to be random.
How would I start working with this?
Aucun commentaire:
Enregistrer un commentaire