<?php
if ($_POST['enter'] and $_POST['text']) {
$_POST['text'] = FormChars($_POST['text']);
$today = date("Y-m-d H:i:s");
$name=$_POST['name'];
$text=$_POST['text'];
mysqli_query($Connect, "INSERT INTO `отзывы` VALUE ('','$name','$text','$today')");
header('Location: /reviews');
exit();
}
?>