how to yii getPost for array _POST vars?

前端 未结 5 1812
名媛妹妹
名媛妹妹 2020-12-18 20:11

Assuming i have

$_POST[\"x\"][\"y\"] = 5;

how can i

Yii::app()->request->getPost(\'x[y]\');

how ca

5条回答
  •  再見小時候
    2020-12-18 21:16

    Yii::app()->request->getParam('delete');

    you can see this link

    http://www.yiiframework.com/forum/index.php/topic/28547-get-post-parameters-with-the-same-name/

提交回复
热议问题