mercredi 30 août 2017

Prioritize files and display random lines from the file in PHP

Is there a way to shuffle some files and display random lines of information from each file, but still the files to have priority (e.g random line from File1 should appear 50% of the times, random line from File2 should appear 20% of the times etc.). Do you have any ideas?

Thanks in advance!




Aucun commentaire:

Enregistrer un commentaire