First you should redirect the form into another page like:
<form action="demo.php" method="POST">
And You should create the demo.php file and paste this code:
<!--?php
include 'conn.php';
$name="";
$date="";
$destination="";
$number="";
$remarks="";
$nights="";
$days="";
$price="";
if(isset($_POST['submit'])){
$name = $_POST['name'];
$date = date('Y-m-d', strtotime($_POST['date']));
$destination = $_POST['destination'];
$number = $_POST['number'];
$remarks = $_POST['remarks'];
$nights = $_POST['nights'];
$days = $_POST['days'];
$price = $_POST['price'];
$query = "INSERT INTO date (name,date,destination,number,remarks,nights,days,price) VALUES ('$name','$date','$destination','$number','$remarks','$nights','$days','$price')";
$iquery = mysqli_query($con, $query);
}
header("location:testing.php");
?--></form>