Best way to check a URL and then load the right content? Example inside... |
[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, 11:36 AM
Best way to check a URL and then load the right content? Example inside... - by El Forum - 06-04-2012, 05:06 PM
Best way to check a URL and then load the right content? Example inside... - by El Forum - 06-04-2012, 05:15 PM
Best way to check a URL and then load the right content? Example inside... - by El Forum - 06-04-2012, 07:22 PM
|