I am trying to remove and change the wrapping div that CakePHP 3 uses on its form helper. I Use this code:
Discy Latest Questions
You can Turn on the debug mode for a particular controller in CakePHP. Please use this code in the controller where you want to show error not for whole project.
here you can use different view in a controller function. See Example Below. Here $this -> render function use to render different view in a controller class function. As the answer above mentions, you can use $this -> set to pass a variable ...