Welcome Guest, Not a member yet? Register   Sign In
routes - can i do this?
#1

[eluser]MMCCQQ[/eluser]
hi!

i build a webapp . so i want this

i got Profile URL:
CASE 1
http://domain.com/mmccqq

and i got Other URL with Numbers:
CASE 2
http://domain.com/7879874

so i wanna do this too:

http://domain.com/mmccqq/add_comment
http://domain.com/7879874/photos

i got this:
CASE 1:
$route['(:any)'] = "main/index/$1";
CASE 2:
$route['(:num)'] = "v/index/$1";

its right?


Messages In This Thread
routes - can i do this? - by El Forum - 03-14-2008, 06:41 PM
routes - can i do this? - by El Forum - 03-15-2008, 04:36 AM
routes - can i do this? - by El Forum - 03-15-2008, 06:35 AM
routes - can i do this? - by El Forum - 03-15-2008, 08:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB