if($_FILES['img']['tmp_name'] != ""){