basta riunire i tre echo in uno:

while($a=mysql_fetch_row($agg))
echo $a[3]."
<hr />";