を挿入することができません私はbind_paramのなステートメントの前にエコーを受け取るが、それMySQLデータベースphpyadminに
$stmt = $this->conn->prepare("INSERT INTO restaurants(unique_id, name, type, longitude, latitude, value_for_money, cleanliness, view, atmosphere, staff created_at) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())");
echo "ezzat wasal";
$stmt->bind_param("sssddiiiii", $uuid, $name, $type, (double)$longitude, (double)$latitude, (int)$value_for_money, (int)$cleanliness, (int)$view, (int)$atmosphere, (int)$staff);
echo "ana zeh2et";
を、これらの値をすべて強制的にキャストする必要はありません。 – tadman
エラー出力は何ですか? – Blackbam