Welcome Guest, Not a member yet? Register   Sign In
Uri segment not working
#3

[eluser]CroNiX[/eluser]
Your anchors are missing the controller name, firstpage.
Code:
<li ><a href="&lt;?php echo base_url();?&gt;firstpage/pagesite/home">Home</a></li>

And I believe this would be segment 3. Segment 1 = controller, segment 2 = method, segments 3+ are parameters.
Code:
$p['page'] = $this->uri->segment(3);


Messages In This Thread
Uri segment not working - by El Forum - 12-06-2013, 09:15 AM
Uri segment not working - by El Forum - 12-06-2013, 11:04 AM
Uri segment not working - by El Forum - 12-06-2013, 02:24 PM
Uri segment not working - by El Forum - 12-11-2013, 06:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB