be careful there,
testing for:
$row[\'description\'] != \" \"
versus
$row[\'description\']
can give two different results.
if $row[\'description\'] exists but is not null you might get some suprising answers!
chris wrote:
instead of this:
if ($row[\'date\']==$cal_date)&& ($row[\'description\'] != \" \")
try this:
if ($row[\'date\']==$cal_date)&& $row[\'description\'])