Welcome Guest, Not a member yet? Register   Sign In
Undefined variable: title <title><?php echo $title;?></title>

<title><?php echo $title;?></title>
The above code seems to give me an error when I add it to my header file as shown below.
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title;?></title>

<link rel="stylesheet" href="<?php echo base_url();?>assets/css/style.css" type="text/css" />

Whay could be the problem guys.All the help will be appreciated.

Theme © iAndrew 2016 - Forum software by © MyBB