You keep resetting your $incrementer
on each loop iteration. You need to set it outside of your loop:
$incrementer = 1;
// start loop
if(file_exists($path . $picName)) {
$path = $path . $incrementer++;
move_uploaded_file($tmp, $path . $picName);
}
// end loop
If the files are being uploaded one at a time then this won't work at all as your PHP script, including all of the variables you set in it end with each execution of that script. In that case you would need to save that value in a database, session, or some other (semi-)persistent storage so it would be available across script executions.
session_start();
if (!isset($_SESSION[incrementer'])
$_SESSION[incrementer'] = 1;
}
if(file_exists($path . $picName)) {
$path = $path . $_SESSION['incrementer']++;
move_uploaded_file($tmp, $path . $picName);
}