On 11 Jan, Ken Pooley wrote:
> But won't that get the articles and not the subtopic headings? It seems 
> like I need to differentiate articles and topics....I had tried <? $topic= 
> mgd_list_topic(18); but that wasn't very popular....

Oops, sorry. You're right. It should have been mgd_list_topics 
instead of mgd_list_topic_articles.

Here's an example code snippet:

<?php  
        if ($t = mgd_list_topics(1389))
                while ($t->fetch()) if ($t->score > 0) { ?>
                
                <p><strong><a href="/path/to/page/&(t.id:u);.html"
                        >&(t.name);</a></strong><br />
                &(t.description);</p>
                
<?php } ?>

> kp

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
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