Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: how load helper in a model?
Post: RE: how load helper in a model?

Hello What about creating and loading a custom helper
3,514 Views
6 Replies
04-28-2020, 10:54 AM
segungreat
    Thread: Route Optional Parameter
Post: RE: Route Optional Parameter

jreklund Wrote: (04-28-2020, 09:56 AM) -- You need to route user as well. PHP Code: -- $routes->get('user/(:num)', "Home::user/$1"); $routes->get('user', "Home::user"); -- -- Thank you, no...
1,911 Views
6 Replies
04-28-2020, 10:02 AM
segungreat
    Thread: Route Optional Parameter
Post: RE: Route Optional Parameter

jreklund Wrote: (04-28-2020, 09:51 AM) -- Here are the chapter you where looking for: https://codeigniter.com/user_guide/incoming/routing.html -- Thank you, I have gone through the documentation, i...
1,911 Views
6 Replies
04-28-2020, 09:56 AM
segungreat
    Thread: Route Optional Parameter
Post: RE: Route Optional Parameter

InsiteFX Wrote: (04-28-2020, 08:04 AM) -- PHP Code: -- $routes->get('user/(:any)', "Home::user/$1"); // or $routes->get('user/(:num)', "Home::user/$1"); -- There are other things that you ca...
1,911 Views
6 Replies
04-28-2020, 09:54 AM
segungreat
    Thread: Route Optional Parameter
Post: Route Optional Parameter

Hello I am trying to add optional parameter to my and seem not getting it. The documentation did not mention anything about it. Some thing like this PHP Code: -- $routes->get('user/(optional...
1,911 Views
6 Replies
04-28-2020, 07:04 AM
segungreat

Theme © iAndrew 2016 - Forum software by © MyBB