Hello,
Does anyone know how to create a script to randomly select 10 or 20 mp3 files in a folder/subfolder to create a playlist?
Your help would gladly be appreciated!
Thanks, Luis
Put a list of the files into an array, e.g. with dir. Then pick 10 or 20 items from the array with array_rand().