Comments - Tiny change in action.count_comments.php
Posted: Mon Nov 24, 2008 9:34 am
Hi everbody,
I juste replace
with
at the end of the file.
My 20 cents.
I juste replace
Code: Select all
echo $num_rows;
with
Code: Select all
if ($num_rows == 0) {
echo "no comment";
}
elseif ($num_rows == 1) {
echo "$num_rows comment";
}
else {
echo "$num_rows comments";
}
My 20 cents.