so far..
<?
$query_items = "SELECT * FROM news ORDER BY ID";
$items = mysql_query($query_items) or die(mysql_error());
$row_items = mysql_fetch_assoc($items);
do {
echo "<BR>";
if($row_items['user'] == $username) {
echo "<form action='ad_ednewsed.php' method='POST'>";
echo "ID:<BR><input type='text' name='ID' size='80' VALUE='";
echo $row_items['ID'];
echo "'><BR><BR>";
echo "Date:<BR><input type='text' name='date' size='80' VALUE='";
echo $row_items['date'];
echo "'><BR><BR>";
echo "Title:<BR><input type='text' name='title' size='80' VALUE='";
echo $row_items['title'];
echo "'><BR><BR>";
echo "Post:<BR><TEXTAREA COLS='60' ROWS='16' WRAP='hard' NAME='post'>";
echo $row_items['post'];
echo "</TEXTAREA>";
echo "'><BR><BR>";
echo "<input type='submit' value='Save Changes'>";
echo "</form>";
}
}
while ($row_items = mysql_fetch_assoc($items));
mysql_close();
?>
This loop shows all the post made by that user.....