Whoops! You didn't fill out the contact form properly. Go back and try again.

insert("messages", [ "siteid" => getsiteid(), "name" => htmlspecialchars($_POST['name']), "email" => htmlspecialchars($_POST['email']), "message" => htmlspecialchars($_POST['message']), "date" => date("Y-m-d H:i:s") ]); header('Location: ./');