Ok so heres the code . The error is this:
$row[title]
$row[content]
$row[date]
$row[title]
$row[content]
$row[date]
$row[title]
$row[content]
$row[date]
i mean thats all i get!
and the code is this
<html>
<head>
<link rel=stylesheet type=text/css href=style.css>
<title>
Blog
</title>
</head>
<body>
<?php
$username = $_SESSION['username'];
include("header.php");
include("dbcon.php");
dbcon();
$result = mysql_query("SELECT * FROM blog
WHERE username='$username'") or die(mysql_error());
while ($row = mysql_fetch_array( $result )){
echo "<br>";
echo "<br>";
echo "<center>";
echo "<div class=blog>";
echo "<u><h1>";
echo '$row[title]';
echo "</u></h1>";
echo "<br>";
echo "<br>";
echo '$row[content]';
echo "<br>";
echo "<br>";
echo "<i>";
echo '$row[date]';
echo "</i>";
echo "<br>";
echo "<br>";
echo "</center>";
echo "<div>";
}
?>
</body>
</html>