Welcome Guest, Not a member yet? Register   Sign In
Redirect function vs load->view
#1

[eluser]condoace[/eluser]
for some reason I can not load a view within an if condition - so I am trying to use redirect function instead... any help in modifying the code below to work for redirect function


//loading a view by loading a template file and using an array to load content inside the template file

Code:
$this->load->view('include/template', array('main_content' => 'rooms/addroom_view'));


Any ideas how I can achieve this with a redirect function??


Messages In This Thread
Redirect function vs load->view - by El Forum - 06-29-2011, 10:45 AM
Redirect function vs load->view - by El Forum - 07-01-2011, 02:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB