Question: how to send data from controller to view in yii2?
Answer: </div> <? php ActiveForm::end(); ?> You should pass the variable from current controller to current view at your action. Then you can pass to another controller view folder's view.