Hi, I'm working on a website for a local tennis group, and we are raising money to offset website costs through sponsorships. I have created some 15 and 30 second GIF's for the sponsors, and would like to create a function that loads the files in random order when the page is opened. I am creating a mysql table with file number, file location, file name info, that will be pulled when the page loads. I know there are random number functions I can use, but I haven't ever worked with the filesystem functions. What functions would I need to first open the selected file, then move on to the next file in the array, once the previous one has closed, and then continue looping through this array of files until the page is closed? Any suggestions or help would be greatly appreciated.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php