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.
如何在 PHP 中编写一个 IF 条件来检查 URL 是否包含名为“first”的查询字符串项并且其值设置为“true”?
没看懂问题,但你是这个意思吗?
if($_GET['first'] == 'true') { echo 'foo'; }