Try the following code,
for ($i = 0; $i < count($_FILES['imgFile']['name']); $i++){
$targetPath = "profile_images/";
$targetPath = $targetPath . basename($_FILES['imgFile']['name'][$i]);
move_uploaded_file($_FILES['imgFile']['tmp_name'][$i], $targetPath);
}
Because if you upload multipull images the array looks like
Array
(
[pictures] => Array
(
[name] => Array
(
[0] => Image1.jpg
[1] => Image2.jpg
)
[type] => Array
(
[0] => image/jpeg
[1] => image/jpeg
)
[tmp_name] => Array
(
[0] => C:\xampp\tmp\phpBCCB.tmp
[1] => C:\xampp\tmp\phpBCCC.tmp
)
[error] => Array
(
[0] => 0
[1] => 0
)
[size] => Array
(
[0] => 33227
[1] => 28680
)
)
)