Hi!

I've got about 400 text files that I want to insert into a database.

I've created the database and it looks something like this..
DBname:texts
and the fields are: ID,Name,Text and Date.

I've thought about doing like #ls -la > textfiles.txt
so i then have all the names of the files in one big file.
I guess i would have to do a php-script that reads the textfiles.txt and insert each filename into an array...Then I'm stuck
Anyone got a slightest guess how I would perform this?

CHEERS!
Magnus