Welcome Guest, Not a member yet? Register   Sign In
Stuck at the second hurdle
#13

[eluser]soup7[/eluser]
here are my routes
$route['default_controller'] = "welcome";
$route['404_override'] = '';
$route['news/create'] = 'news/create';
$route['news/(:any)'] = 'news/view/$1';
$route['news'] = 'news';
$route['(:any)'] = 'pages/view/$1';
$route['default_controller'] = 'pages/view';

route just means when it sees what's in the first area, in the ['blah'] it routes to what comes next, pages/view etc...


if it's new/different route, just add it to the bottom will be fine i think

when they say 'add code', look how it changed from (where it was displayed) before, and you'll see where it changed.


Messages In This Thread
Stuck at the second hurdle - by El Forum - 02-25-2013, 07:51 AM
Stuck at the second hurdle - by El Forum - 02-25-2013, 10:59 AM
Stuck at the second hurdle - by El Forum - 02-25-2013, 11:33 AM
Stuck at the second hurdle - by El Forum - 02-25-2013, 11:56 AM
Stuck at the second hurdle - by El Forum - 02-25-2013, 12:09 PM
Stuck at the second hurdle - by El Forum - 02-25-2013, 01:28 PM
Stuck at the second hurdle - by El Forum - 02-25-2013, 02:01 PM
Stuck at the second hurdle - by El Forum - 02-26-2013, 05:17 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 06:12 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 06:17 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 09:24 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 09:41 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 09:43 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 09:47 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 10:12 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 10:16 AM
Stuck at the second hurdle - by El Forum - 02-26-2013, 10:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB