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

[eluser]Unknown[/eluser]
Code:
<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.
Code:
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<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" />
</head>

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


Messages In This Thread
Undefined variable: title <title><?php echo $title;?></title> - by El Forum - 11-13-2011, 11:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB