08-08-2012, 11:10 PM
[eluser]Aken[/eluser]
Use site_url(), not base_url() - that will insure that index.php is added to your URLs if you have not used .htaccess to remove it. Otherwise if you ever need to disable .htaccess, all of your links will be broken.
anchor() uses site_url() already, so that's a good option, too.
Use site_url(), not base_url() - that will insure that index.php is added to your URLs if you have not used .htaccess to remove it. Otherwise if you ever need to disable .htaccess, all of your links will be broken.
anchor() uses site_url() already, so that's a good option, too.