Welcome Guest, Not a member yet? Register   Sign In
Browser Back Button Question
#9

[eluser]CroNiX[/eluser]
Nope, it won't work like that unless you pass it to the view like any other variable you pass to the view.

Code:
<title><?php echo $title ?></title>


Code:
function index()
{
   $data['title'] = "Home Page!!";  //put it in $data to pass to the view!!
   $data['main_content'] = 'home';
   $this->load->view('includes/template', $data);

}


Messages In This Thread
Browser Back Button Question - by El Forum - 03-14-2012, 02:18 PM
Browser Back Button Question - by El Forum - 03-14-2012, 03:12 PM
Browser Back Button Question - by El Forum - 03-14-2012, 03:14 PM
Browser Back Button Question - by El Forum - 03-14-2012, 03:46 PM
Browser Back Button Question - by El Forum - 03-15-2012, 06:22 AM
Browser Back Button Question - by El Forum - 03-15-2012, 05:47 PM
Browser Back Button Question - by El Forum - 03-15-2012, 05:49 PM
Browser Back Button Question - by El Forum - 03-15-2012, 05:57 PM
Browser Back Button Question - by El Forum - 03-15-2012, 06:00 PM
Browser Back Button Question - by El Forum - 03-16-2012, 01:16 AM
Browser Back Button Question - by El Forum - 03-16-2012, 07:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB