processador mysqli simples

<?php
$database_server
= "localhost";
$database_user
= "XXX";
$database_password
= "XXX";
$dbase
= "XXX";

$mysqli
= new mysqli($database_server, $database_user, $database_password, $dbase);

/* check connection */
if (mysqli_connect_errno()) {
printf
("Connect failed: %sn", mysqli_connect_error());
exit();
}

$insert
= "INSERT INTO `leads` (
`email`,

`phone`

) VALUES (

'"
.$_POST[email]."',
'"
.$_POST[phone]."'
)"
;

$result
= $mysqli->query($insert);

$mysqli
->close();

header
('Location: success.html');

?>