Welcome Guest, Not a member yet? Register   Sign In
Best way to check a URL and then load the right content? Example inside...
#2

[eluser]CroNiX[/eluser]
$this->uri->segment(3) would give you the segment after "property", or FALSE if it doesn't exist. So, in your "property" method you can check for the value of segment 3 and determine what you need to do from there. No need to make your own functions for that.

http://ellislab.com/codeigniter/user-gui...s/uri.html


Messages In This Thread
Best way to check a URL and then load the right content? Example inside... - by El Forum - 06-04-2012, 05:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB