PHP interesse |
|
aha op die manier, misschien zo:
1.
elseif (isset($_FILES['upfile1']) && (($_FILES['upfile1']['type'] != "image/pjpeg") && ($_FILES['upfile1']['type'] != "image/jpeg")))
2.
$error = "<span class='berichtfout'>Geen JPG!!</span>";
1. elseif (isset($_FILES['upfile1']) && (($_FILES['upfile1']['type'] != "image/pjpeg") && ($_FILES['upfile1']['type'] != "image/jpeg"))) 2. $error = "<span class='berichtfout'>Geen JPG!!</span>";
|