$id = $_GET['id'];
include('includes/sqlconnect.php');
$query = "SELECT * FROM gunny where id like '$id'";
$run_query = mysql_query($query) or die(mysql_error());
while ($row = mysql_fetch_array($run_query)){
$id = $row['ID'];
$title = $row['TITLE'];
$imgsrc = $row['IMGSRC'];
$date = $row['DATE'];
$shortstory= $row['SHORTSTORY'];
$fullstory = $row['FULLSTORY'];
?>
echo $title; ?>
echo $date; ?>
echo $fullstory; ?>
}
?>
include('includes/rightcontent.php'); ?>