session help

#2
[eluser]jedd[/eluser]
Rather than ...
[quote author="dadamssg" date="1263093869"]
Code:
$page = $this->session->userdata('page');
redirect("mains/$page");
[/quote]

... try
Code:
$page = $this->session->userdata('page');
redirect("mains/". $page);


Messages In This Thread
session help - by El Forum - 01-09-2010, 03:24 PM
session help - by El Forum - 01-09-2010, 06:06 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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