<?php$host="localhost";
$user = "root";
$pass = "";
$db = "tomorrow";
$conexao=@mysqli_connect($host, $user, $pass) or die(mysqli_error());
mysqli_select_db($conexao,$db) or die(mysqli_error());
?>
<?php
$username=$_POST['username'];
$email=$_POST['email'];
$password=$_POST['password'];
$sql=mysqli_query($conexao,"INSERT INTO usuarios(username, email, password)VALUES('$username', '$email', '$password')");
echo "<center><h1>Cadastro realizado com sucesso</h1></center>";
mysqli_close($conexao);
?>