Try something like this:
PHP Code:
$blast_msg = $db->query_read("
SELECT *
FROM blastmsg
ORDER BY blastid DESC
LIMIT 3
");
if (!$db->num_rows($blast_msg))
{
$blasterr = '<div align="center"><em>There are no blast messages!</em></div>';
}
else
{
while ($blast = $db->fetch_array($blast_msg))
{
$user = $blast['user'];
$date = $blast['date'];
$message = $blast['message'];
// Here is where you display the current message (ex)...
$blasterr .= "<div>[$date] $user: $message</div>";
}
}
I really only added the single quotes for string array keys, and adding to the $blasterr variable with each loop. The way you have it now $user, $date and $message will just be whatever they were last, you want to display (or add to a variable) every time so they are unique.