> <?
> $article = 123;
> $replies = mgd_list_reply_articles( $article );
> if( $replies->N == 0 ) {
> echo "No replies to article $article found.";
> } else {
> echo ($replies-N ==1 ) ? 'reply' : 'replies'," to article $article:<br>";
> while( $replies->fetch() ) {

How about:

<?
 $article = 123;
 $replies = mgd_list_reply_articles( $article );
 if( $replies->N == 0 ) {
 echo "No replies to article $article found.";
 } else {
 echo ($replies-N ==1 ) ? 'reply' : 'replies'," to article $article:<br>";
 echo "There are " . $replies->N . "replies to this article"; 
?>

Armand.

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to