if ( $r !== false && mysql_num_rows($r) > 0 ) {
while ( $a = mysql_fetch_assoc($r) ) {
$title = stripslashes($a['title']);
$bodytext = stripslashes($a['bodytext']);
$href = stripslashes($a['href']);
$data = stripslashes($a['created']);
$entry_display .= <<<ENTRY_DISPLAY
}
}