Okay...so further to my last post.
I now want to seperate the files into Images and folders.
I have the code line:
if ($file != "." && $file != ".." && $file != "files.php")
Now I want to add one more $file != condition, that would be the equivalent of saying:
if($file != "*.jpg")
But I don't know how to do that.
Any ideas?
Many thanks
Dan