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["invdata"])) { $_SESSION["invdata"] == "aaa"; print_r($_SESSION); }
print_r 显示 SESSION 信息,但我看不到 invdata 信息,可能是什么问题?
谢谢!
尝试改变
$_SESSION["invdata"] == "aaa";
和
$_SESSION["invdata"] = "aaa";
(注意单=)
那么双等号没有帮助!
代替
你现在不能设置变量了==。
==