QUOTE(uttershambles @ Mar 22 2008, 11:28 PM)

Just fyi, you might want to change your mysql password.
Also where it has this:
CODE
while($row = mysql_fetch_array($result)); {
there should be no semicolon
CODE
while($row = mysql_fetch_array($result)) {
I removed the semi-colon now this is the error message I get:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/jeverybr/public_html/editentry.php on line 8
here is the code again.
<?php
mysql_connect ('localhost', 'jeverybr_ami', '***********') ;
mysql_select_db ('jeverybr_blog');
$result = mysql_query("SELECT timestamp, id, title FROM blogtable ORDER BY id DESC");
while($row = mysql_fetch_array($result)) {
$date = date("l F d Y",$row['timestamp']);
$id = $row['id'];
$title = strip_tags(stripslashes($row['title']));
if (mb_strlen($title) >= 20) {
$title = substr($title, 0, 20);
$title = $title . "...";
}
print("<a href=\"update.php?id=" . $id . "\">" . $date . " -- " . $title . "</a><br />");
}
mysql_close();
?>