die(“Connection failed: ” . $conn->connect_error);
}else{
$stmt = $conn->prepare(“insert into registration(name, surname, email, nic, address_no, street_name, city, telephone, birth_date) values(?,?,?,?,?,?,?,?,?)”);
$stmt->bind_param(“sssiissii”,$name, $surname, $email, $nic, $address_no, $street_name, $city, $telephone, $birth_date);
$stmt->execute();
echo “Burrower Added Sucessfully”;
$stmt->close();
$conn->close();
}
?>