= start_all and $today < end_all order by start_all DESC";
$result=mysql_query($sql,$link);
$sub_html="";
$c=1;
while ($row=mysql_fetch_assoc($result))
{
if ($row["title"])
{
if ($c==1)
{
$sub_html.='
'.$row["title"]."
\n";
$sub_html.='
'.$row["comment"].'
'."\n";
$c=0;
}
else
{
$sub_html.='
'.$row["title"]."
\n";
$sub_html.='
'.$row["comment"].'
'."\n";
}
}
else
{
$sub_html.='
'.$row["comment"].'
'."\n";
}
}
/*
if ($sub_html)
{
print '
'."\n";
print '
'."\n";
print '
'."\n";
print $sub_html;
print '
'."\n";
print '
'."\n";
print '
'."\n";
}
*/
?>