Jump to content

PHP between Codes Not Work


altafhpatel

Recommended Posts

<head>
<?php
include("conn/conn.php");
$set_query="SELECT * FROM settings ";
$get_setting=mysql_query($set_query);
while($set=mysql_fetch_array($get_setting)){
extract($set);
$title=$set['site_title'];
$tagline=$set['site_tagline'];
?>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<title><?php echo $title; ?></title></head>
<body>
<div id="wrapper">
	<div id="logo">
		<h1><?php echo $title; ?></h1>
		<p><em><?php echo $tagline; ?></em></p>
	</div>
	<hr />

Now this code on line 13 <title><?php echo $title; ?></title></head>

 

is not working gives error please solve this problem...

Link to comment
https://forums.phpfreaks.com/topic/276046-php-between-codes-not-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.