I can't seem to get past how to do this....
what I am doing is reading a directory and dropping it into an array called $file_array ....now in my database I have a mirror of what's in the directory....except that new files will get added often.....so I want to make a function that will readdir and check it against the database, if a file isn't in the database ....add it ....otherwise continue on.
I have tried nested for loops but I don't seem to be getting anywhere with them....maybe I have been looking at the code too long.
Thanks for your help in advance....