whats up ?!!
The price of corn
i need help i have to do a script
that take all file in a specific folder one by one and insert row in mysql
plz any one can help me ??
To open a director you can use these functions.
opendir() and readdir()
But what do you want to do next? Read the file names into SQL or the content of the files (the above will give you these)? Do you want each line of each file into a new line in SQL if so use file() or each file's contents into a line of SQL then use file_get_contents();
If you want help please write more detail in your question then we don't waste time by guessing.