Location: PHPKode > projects > Openology PHP Application Integration > openology/wiki/actions/countcomments.php
<?php
/**
 * Print total number of comments in this wiki.
 */
$commentsdata = $this->LoadSingle("SELECT count(*) as num FROM ".$this->config["table_prefix"]."comments");
echo $commentsdata["num"];
?>
Return current item: Openology PHP Application Integration