1.

Why we used $this->set() in cakePHP?

Answer»

It is used for creating a VARIABLE in the view file with $this->set('variable1','bestinterviewquestion.com'); in CONTROLLER FIE and then that variable $variable1 will be available to use in the view template file for that action.



Discussion

No Comment Found