To pass data from a controller to a view, the data should be stored in an associative ________.

  • Array
  • Integer
  • Object
  • String
To pass data from a controller to a view in CodeIgniter, the data should be stored in an associative array. This array is then passed as the second parameter to the $this->load->view() function.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *