• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can i send array variable to view file by controller file

#2
[eluser]dtrenz[/eluser]
Code:
class Page extends Controller {

   function index()
   {
      $data['db_array'] = $db_array;
      $this->load->view('page', $data);
   }

}


This is the one of the most basic concepts behind views. I recommend that you read the _______ manual: http://ellislab.com/codeigniter/user-gui...views.html


Messages In This Thread
how can i send array variable to view file by controller file - by El Forum - 03-11-2008, 08:01 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.