$rawArr = $_POST;
$_servername = "localhost";
$_username = "";
$_password = "";
$_dbname = "";
$conn = new \mysqli($_servername, $_username, $_password, $_dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "ТУТ НАШ ЗАПРОС";
$result = $conn->query($sql);
//TODO: обработка ошибок и тд.