Update Service

alert('Image Should be Valid Extension'); window.location='insert_destination.php?id=".$get_id."'; "; exit; } } else { $final_img=$old_img; } $sql="UPDATE `destination` SET `title`='$title',`image`='$final_img',`location`='$location',`time`='$time',`price`='$price' 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 Destination Add Destination

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