Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコードを実行すると、このエラーが発生します。
解析エラー: C:\xampp\htdocs\pta\cc11205\booking.php 行 32 の構文エラー、予期しない '" "' (T_CONSTANT_ENCAPSED_STRING)
$querycust = mysql_query(" SELECT * FROM customer WHERE customer_id = ".$_SESSION['customer_id']" ");
tq。
あなたの引用符をエスケープします。
" SELECT * FROM customer WHERE customer_id = \".$_SESSION['customer_id']\" "