We are constantly trying to improve PHP Freaks and these forums, so feel free to go to the PHPFreaks Comments/Suggestions board and point out anything you'd like to see different!
0 Members and 1 Guest are viewing this topic.
Variable passed to each() is not an array or object
The error is pretty self explanatory. each expects an array or object, none of the arguments you are supplying are.Try passing just:$_FILES['images']ps: Notice also that indexes are strings and string need to be surrounded by quotes.
I don't think you read my previous reply.
$_FILES['images']['type'] is NOT an array or an object. $_FILES['images'] is.