[OT] Nav breaks with method call in URL |
Not really, base_url() will output the base url, base_url('foo/bar') will output the base url with foo/bar on the end.
Docs: http://www.codeigniter.com/user_guide/he...l#base_url Personally I prefer to use it with the link inside the function call. I think it is cleaner myself: PHP Code: <img src="<?php echo base_url(); ?>images/SA-Logo-Web-507.png" /> But either is fine. Paul. |
Messages In This Thread |
[OT] Nav breaks with method call in URL - by dbrooke - 08-04-2016, 05:06 AM
RE: [OT] Nav breaks with method call in URL - by PaulD - 08-04-2016, 05:34 AM
RE: [OT] Nav breaks with method call in URL - by dbrooke - 08-04-2016, 07:00 AM
RE: [OT] Nav breaks with method call in URL - by PaulD - 08-04-2016, 07:34 AM
|