$mysqli = new mysqli("localhost", "#", "*****", "#");
$mysqli->set_charset("utf8");
if (mysqli_connect_errno()) {
printf("Не удалось подключиться: %s\n", mysqli_connect_error());
exit();
}
$Name = trim($_REQUEST['Name']);
$Email = trim($_REQUEST['Email']);
$Phone = trim($_REQUEST['Phone']);
$Address = trim($_REQUEST['Address']);
$Product = trim($_REQUEST['Product']);
$Size = trim($_REQUEST['Size']);
$Amount = trim($_REQUEST['Amount']);
$dates = date('Y-m-j H:i:s');
$Money = trim($_REQUEST['Money']);
$position = true;
$mysqli->set_charset("utf8");
$mysqli->query($connect, "INSERT INTO 'cart' ('Name', 'Email', 'Phone', 'Address', 'Product', 'Size', 'Amount', 'dates', 'Money') VALUES('{$Name}', '{$Email}', '{$Phone}', '{$Address}', '{$Product}', '{$Size}', '{$Amount}', '{$dates}', '{$Money}');");