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.
我现在唯一的问题是,当我单击提交按钮时,它不想保存我的会话。您可以点击以下链接查看我的代码:
http://pastie.org/6348801
您从未设置会话变量(至少在您提供的代码中没有),您只为 $session 分配了一个空会话变量。
去做吧:
$_SESSION['productid3'] = 'your data';