gpt4 book ai didi

post - symfony 1.4 如何获取POST参数?

转载 作者:行者123 更新时间:2023-12-03 10:54:41 25 4
gpt4 key购买 nike

我可以通过 $request->getParameter('id'); 获取参数(例如'id');

但是如果我使用表单来发布 id,我怎么能得到它的值呢? $request->getParameter('id');不起作用。

最佳答案

sfWebRequest 有 getPostParameter(name, default)

关于post - symfony 1.4 如何获取POST参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3532141/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com