noob problem: ¿How must i build the links? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: noob problem: ¿How must i build the links? (/showthread.php?tid=49938) |
noob problem: ¿How must i build the links? - El Forum - 03-08-2012 [eluser]josepichu[/eluser] Code: <a href="controller/method"> link </a> noob problem: ¿How must i build the links? - El Forum - 03-08-2012 [eluser]josepichu[/eluser] Code: <a href="controller/method"> link </a> This one don't work if a I'm for example inside controller_2/method_2... I think maybe the problem is my .htaccess, it is (removed index.php): Code: <IfModule mod_rewrite.c> ¿Do you understand me? thks. noob problem: ¿How must i build the links? - El Forum - 03-08-2012 [eluser]josepichu[/eluser] OK! i have solved it putting base_url() before de links ! thanks ! noob problem: ¿How must i build the links? - El Forum - 03-08-2012 [eluser]mejlo[/eluser] prefer to use this Code: $this->load->helper('url'); noob problem: ¿How must i build the links? - El Forum - 03-08-2012 [eluser]josepichu[/eluser] Yes, me too. thanks.... |