CodeIgniter Forums
Undefined variable: title <title><?php echo $title;?></title> - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Undefined variable: title <title><?php echo $title;?></title> (/showthread.php?tid=46743)

Undefined variable: title <title><?php echo $title;?></title> - El Forum - 11-13-2011

<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" "">
<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.