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.
尝试了一些东西,我确信这是一个小错误,但我已经盯着它看了好久!
if (isset ($_GET['id']) { $product_id = strip_tags($_GET['id']); }
任何人都可以看到有什么问题吗?
你错过了一个):
)
if (isset ($_GET['id'])) { $product_id = strip_tags($_GET['id']); } ^
你缺少第一个开始的小括号。
(isset ($_GET['id']) -- here ) should be closed like. if (isset ($_GET['id'])) { $product_id = strip_tags($_GET['id']); }