CSS and include troubles |
[eluser]Alias M2K[/eluser]
I would like to know how to link CSS and to include or require PHP files... Is there any specific location where CI engine would search for these files or can we specify one? If so, how to do that?
[eluser]wh1tel1te[/eluser]
Easiest way would be to load the URL helper, then use base_url(): Code: <link rel="stylesheet" href="<?php echo base_url(); ?>path/to/file.css" />
|
Welcome Guest, Not a member yet? Register Sign In |