connect_error){ die("Ошибка подключения". $mysql->connect_error); } $review = $_POST["review"]; $name = $_POST["name"]; $rating = $_POST["rating"]; $query = "INSERT INTO review (name, review, rating) VALUES ('$name', '$review', '$rating')"; $result = $mysql->query($query); if(!$result){ echo "Что то не так" . $mysql->error; } else { echo ""; } ?>