Destination Table
New Member
S. No.
Image
Heading
Location
Price
Actions
0 ) { while ($row = mysqli_fetch_array($query)) { $id=$row['id']; $img=$row['image']; $title=$row['title']; $desc=$row['des']; $location=$row['location']; $time=$row['time']; ?>
=$number++?>
=$title?>
=$location?>
=$time?>
alert('Destination deleted succesfully');window.location='destination.php';"; } else { echo ""; } } ?>
Insert Destination
If you need more info, please check out
FAQ Page
.
insert Destination
Insert Destination
alert('Destination insert succesfully');window.location='destination.php';"); } else { echo(""); } } else { echo(""); } } else { echo(""); } } // ELSE CONDITION CLOSED ?>
Update Destination
If you need more info, please check out
FAQ Page
.
=$old_desc?>
update Destination
Update Destination
alert('update succesfully');window.location='destination.php';"; } } else if($image_name == "") { $sql="UPDATE `destination` SET `image`='$old_image',`title`='$title',`des`='$desc',`location`='$location',`price`='$price',`time`='$time' WHERE `id`='$get_id'"; $query=mysqli_query($conn,$sql) or die(mysqli_error($conn)); if($query) { echo ""; } } } } ?>