I have solved this problem by simply using a different chunk of code at the botton of the array to handle file upload!!! Its to much hard work trying to mix file upload
PHP code with the array code when a seperate peace of code works just fine
The array also need a record inserted to work, once the record was inserted the image section ($_POST) needed to be changd to ($_FILES)
