foreach($files as $filename) {
$file2 = $file2.$filename."<br />";
echo $file2;
}
What is wrong with this foreach loop? I just cannot figure it out. It is supposed to take the value from $files and store it in $filename. It's not doing this. It says $filename is an Array. I don't use $filename anywhere else in the entire script. This has me stumped and I'm sure $files is an array.
Also, this isn't the only foreach loop in my script that's doing this.