Welcome Guest, Not a member yet? Register   Sign In
base_url() giving error

This code in my layout file
<link rel="stylesheet" href="<?=base_url()?>css/blueprint/screen.css" type="text/css" media="screen, projection">

Gives this error when output
Call to undefined function: base_url() in <b>/Library/WebServer/Documents/ci/system/application/views/layout.php

It stops ouput right after the page title and I only see the error message when I view source.

Not sure what i am doing incorrectly here?

[eluser]Derek Allard[/eluser]
Are you loading or autoloading the url helper?

No, I will try that. Thanks.

Theme © iAndrew 2016 - Forum software by © MyBB