Update Service

alert('Image Should be Valid Extension'); window.location='insert_tour.php?id=".$get_id."'; "; exit; } } else { $final_img=$old_img; } $sql="UPDATE `tour` SET `title`='$title',`image`='$final_img',`des`='$des',`location`='$location',`price`='$price',`time`='$time' WHERE id='$get_id'"; $query=mysqli_query($conn,$sql) or die(mysqli_error($conn)); if($query) { move_uploaded_file($image_tmp,$logo_path); echo ""; } } } // IF ISSET END else { ?>
All Tour Packages Add Tour Packages

alert('Insert succesfully');window.location='tour_table.php';"); } } } else { echo(""); } } } // ELSE CONDITION END ?>