CodeIgniter Forums
Base url is freakin out - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Base url is freakin out (/thread-9906.html)

Base url is freakin out - El Forum - 07-12-2008

Hi al

Every time I add my base url for loading my css I get a blanc page

<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>system/application/view/reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>system/application/view/style.css" media="screen" />

This is the 2 lines of code from my css style. And when I look @ the soucrecode I get this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
&lt;html &gt;

&lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"/&gt;
&lt;meta name="description" content="Alles over het coden van websites in verschillende talen o.a. PHP, (x)HTML, CSS, MySQL. Ook over de framework Code Igniter kan je hier veel vinden"/&gt;
&lt;meta name="keywords" content="Coder, Coding, PHP, HTML, SQL, MYSQL, JAVA, COCOA, JAVASCRIPT, JS, PreHypertex Processor, CodeIgniter, HTML, CSS, xHTML" /&gt;
&lt;meta name="author" content="Jesse Struyvelt" /&gt;

&lt;link rel="stylesheet" type="text/css" href="

It stops where the PHP standing, also, if i set the hole path, and i use the anchor function nothing appears Sad

&lt;?=anchor('main/home', 'Home');?&gt;

I use that for anchor function..
Somebody can help me ?

Woops, i forgot the $this->load->helper('url');