I have some code that accepts gif files. I want it to accept both jpg & gif. Can someone help me change this code:
if ($FILES['image1']['type'] == "image/gif" && $FILES['image2']['type'] == "image/gif" && $FILES['image3']['type'] == "image/gif" && $FILES['image4']['type'] == "image/gif" && $_FILES['image5']['type'] == "image/gif")
thanks