Anyone see why this will not stop executing the script when any of the
conditions are true.

thanks

if ($_POST["imgList"] = ""){
 die ("<strong>Missing information for uploading.</strong><br> - The Image
List is empty.  Please go back and enter in at least one file.");
}
elseif ($_POST["cat_nameID"] && $_POST["new_cat"] = ""){
 die ("<strong>Missing information for uploading.</strong><br> - A category
was not selected from Active Categories and New Category was blank.  Please
go back and either choose or fill in the missing information.");
}
else{
 $filename = $_POST["imgList"];
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to