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.
我正在尝试将 id 索引页面传递到另一个页面,如下所示
$id=48; header("Location: ".$redirect."parties.php&id=$id");
但它不工作请帮助我
将 更改&为?
&
?
header("Location: ".$redirect."parties.php?id=$id");
然后在 中parties.php,您将能够访问它$_GET['id']
parties.php
$_GET['id']