tp5之 post接收数组报错
当时的报错为:variable type error :array大白话翻译,TP5的POST是接收不了数组的,没错 这是TP5 自身的BUG!!!
但是,可以这么写:
$arr=$request->post('temparr/a');
就是在里面加个 /a 告诉TP5胖爷我喂你的是个数组,换口金牙来啃!
参考文献:https://blog.csdn.net/schopenhauerzhang/article/details/70528332
页:
[1]