build an url - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: build an url (/showthread.php?tid=7860) |
build an url - El Forum - 04-25-2008 [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? build an url - El Forum - 04-25-2008 [eluser]Pascal Kriete[/eluser] Check out the URL helper: Code: $this->load->helper('url'); build an url - El Forum - 04-25-2008 [eluser]jorgeakanieves[/eluser] thanks, it´s a little simple and I´ll build more complex. build an url - El Forum - 04-29-2008 [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. |