码迷,mamicode.com
首页 > Web开发 > 详细

thinkphp5 input坑

时间:2017-12-31 18:20:27      阅读:450      评论:0      收藏:0      [点我收藏+]

标签:class   thinkphp   参数   post方法   获取   pre   span   html   php5   


取值方式改了而已?a1=1&a2=2这种可以用input(get.)
a1/1/a2/2 用input(‘a1‘)和input(‘a2‘)
post方法当然是input(‘post.‘)
我觉得这样比之前合理
现在 input(‘get.id‘)只能获取到url.html?id=1这种形式的参数,/id/1.html 这种形式的参数无法用这种方式获取了。

thinkphp5 input坑

标签:class   thinkphp   参数   post方法   获取   pre   span   html   php5   

原文地址:https://www.cnblogs.com/laijinquan/p/8158048.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!