Welcome Guest, Not a member yet? Register   Sign In
Routing with dynamic Event ID in URL for event managment system
#7

[eluser]Saquib[/eluser]
[quote author="TWP Marketing" date="1347124284"]You can pass as many parameters as you wish:
Code:
/controller/method/param1/param2/param3/...
They can be accessed using the URI class:
Code:
$param1 = $this->uri->segment(3); // note the segment numbers
$param2 = $this->uri->segment(4);
$param3 = $this->uri->segment(5);
This is explained in the User Guide:
http://ellislab.com/codeigniter/user-gui...s/uri.html[/quote]

I know it can be done using above pattern.
But here we are missing that i wanted to have my EVENT_ID in place of controller methods place, How can we get below URL, is it possible Sad

Code:
www.event-backend.com/event/EVENT_ID/registration

I think it is possible with some routing but I can't figure out how ?


Messages In This Thread
Routing with dynamic Event ID in URL for event managment system - by El Forum - 09-08-2012, 10:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB