Welcome Guest, Not a member yet? Register   Sign In
routes help
#4

[eluser]dippy[/eluser]
I am having another routes problem.

i have the following code in my route config file:

Code:
$route['services/:any'] = "services/section";

is there a way to have the below work if the above code is also in the config file?


Code:
$route['services/search/:any'] = "services/search";

it wasnt working it kept bringing me to services/section when i tried to do services/search/19428 ...


this is what i am trying to accomplish.

services/carwash
(services/section)
the above will show the landing page for that specific service.

services/carwash/19428
(services/section/search)
and this will search in the database under section carwash and search for zipcode 19428.


Any help would be great with my route issue!

thanks a bunch!


Messages In This Thread
routes help - by El Forum - 11-10-2008, 10:15 PM
routes help - by El Forum - 11-10-2008, 11:09 PM
routes help - by El Forum - 11-11-2008, 01:00 PM
routes help - by El Forum - 08-12-2009, 11:58 AM
routes help - by El Forum - 08-12-2009, 01:35 PM
routes help - by El Forum - 08-12-2009, 01:43 PM
routes help - by El Forum - 08-12-2009, 05:44 PM
routes help - by El Forum - 08-13-2009, 01:32 AM
routes help - by El Forum - 10-26-2009, 04:33 PM
routes help - by El Forum - 10-27-2009, 12:01 PM
routes help - by El Forum - 11-04-2009, 02:00 PM
routes help - by El Forum - 11-04-2009, 02:12 PM
routes help - by El Forum - 11-04-2009, 02:21 PM
routes help - by El Forum - 11-04-2009, 02:24 PM
routes help - by El Forum - 11-04-2009, 02:28 PM
routes help - by El Forum - 11-04-2009, 02:49 PM
routes help - by El Forum - 11-04-2009, 04:10 PM
routes help - by El Forum - 11-04-2009, 04:54 PM
routes help - by El Forum - 11-04-2009, 08:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB