help!

#1
[eluser]Unknown[/eluser]
I am writing a program in CI,and have a problem with url

web/css/basic.css
web/images/
web/system/
web/index.php
web/system/application/views/

the files in views,how to write the url of css file

<link href="css/basic.css" rel="stylesheet" type="text/css" /> ???

#2
[eluser]Seppo[/eluser]
Load the URL helper. Use the base_url function:
Code:
<link href=”<?php echo base_url(); ?>css/basic.css” rel="stylesheet" type="text/css" />


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.