using of remap function passing it parameter |
[eluser]mazzy[/eluser]
In my views I call show function stored in a controller named search. to this function I pass two parameter like this way: Code: <?php echo site_url("search/show/param1/param2"); ?> I would use _remap function in the way I can show as URL : Code: /search/show/param1-param2
[eluser]InsiteFX[/eluser]
CodeIgniter User Guide - URI Class To use _remap it is like this: ./application/config/routes.php Code: // ------------------------------------------------------------------------ Code: /**
[eluser]mazzy[/eluser]
please can you do an example with data I posted? I didn't understand how pass params. Do I have to put them into params array?
|
Welcome Guest, Not a member yet? Register Sign In |