if($entry->comment.count > 0) {
$out .= "This post has earned ";
$commentCount = $entry->comment.count;
$out .= (int)$commentCount;
$out .= " comments so far.";
}
The test works fine, but the number of comments is returning something like an ID (I guess) rather than the number of comments.For example two pages have one comment each and for one it reports:
and on the other:This post has earned 8 comments so far.
This post has earned 22 comments so far.
I am pretty sure this a PHP-lite-weight issue between the chair and the keyboard. If you're less PHP lite-weight than me and care to comment on what I might need to do, I would be most grateful













