This is getting drawn out…
Why do you think you are getting a “form resubmission error” when you haven’t uploaded an image?
Are you wishing to go directly to NoInfoAvailable.php if you haven’t uploaded an image?
IF SO use
header("location: NoInfoAvailable.php");
exit;
Or are you wishing to make an image/link pointing to NoInfoAvailable.php?
Then that’s what we are doing here
$file_location = '<a href="http://www....com/NoInfoAvailable.php"><img src="upload/NoInfoAvailable.png" alt="No Image"></a>';
which you would then echo where needed, e.g.
echo $file_location;