how to pass parameter on redirect in yii

前端 未结 4 1982
鱼传尺愫
鱼传尺愫 2021-02-06 23:34

I am using Yii framework for my project;

I am redirecting page after success of insertion in database to another controller using

$this->redir

4条回答
  •  长发绾君心
    2021-02-06 23:41

    To redirect into same action with the all parameters that already have this works for me.

    $this->redirect($_PHP['SELF']);
    

提交回复
热议问题