How to read folder content file names and export it to mysql
Hi all. i have a huge list of vidoes(Mostly avi files). I want some how read the name of all those files and add them to mysql. Could any one show me how i can read all those video file names?Thanks
Take a look at glob() to read the files into an array, then use a foreach() loop to loop through the array, and finally run a mysql_query() to add it to your table.