altafhpatel Posted March 23, 2013 Share Posted March 23, 2013 <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... Quote Link to comment https://forums.phpfreaks.com/topic/276046-php-between-codes-not-work/ Share on other sites More sharing options...
haku Posted March 23, 2013 Share Posted March 23, 2013 There's probably something wrong with it. Unfortunately, not being able to read minds and guess errors, I can't say much more than that. Quote Link to comment https://forums.phpfreaks.com/topic/276046-php-between-codes-not-work/#findComment-1420462 Share on other sites More sharing options...
altafhpatel Posted March 23, 2013 Author Share Posted March 23, 2013 So please some one point it out.... Quote Link to comment https://forums.phpfreaks.com/topic/276046-php-between-codes-not-work/#findComment-1420468 Share on other sites More sharing options...
haku Posted March 23, 2013 Share Posted March 23, 2013 We cannot read your mind and guess what the error you are seeing is. If you told us, maybe we could help you. Quote Link to comment https://forums.phpfreaks.com/topic/276046-php-between-codes-not-work/#findComment-1420469 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.