build an url |
[eluser]jorgeakanieves[/eluser]
when in build a url i do this: Code: $url = this->config->config["base_url"]."index.php/admin/home"; is any way on library to create urls?
[eluser]Pascal Kriete[/eluser]
Check out the URL helper: Code: $this->load->helper('url');
[eluser]jorgeakanieves[/eluser]
thanks, it´s a little simple and I´ll build more complex.
[eluser]bradym[/eluser]
The url helper also has the anchor function if you're wanting to build links. Take a look at the user guide page for more info. |
Welcome Guest, Not a member yet? Register Sign In |