View Single Post
Old 05-16-2013, 02:55 AM   #2
binarynpixel
Registered User
 
Join Date: Apr 2013
Location: Sydney
Posts: 127
Hi Noah i think this code will be helpful for you
<?php

error_reporting("E_ALL ^ E_NOTICE");

$story = $_GET['story'];
include 'admin/connect.php';
$getlist="Select * from news where id='$story'";
$result= mysqli_query($con,$getlist);
while($row= mysqli_fetch_array($result))

{

$a=$row[Heading];

}

?>
and put this code in heading code between title tag code are below:
<title><?php echo $a;?></title>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
binarynpixel is offline   Reply With Quote