> I need to display some articles in a news section of my site and I'd like to 
>automatically display the most recent.
> Does anyone have a PHP example of displaying articles based on their creation date?

I snipped the following from the "news" script in VMUC.

<h2>Latest news</h2>
<?   $article = mgd_list_topic_articles_all(9);
     if ($article) for ($i = 0; $i < 5 && $article->fetch(); $i++) { ?>
<p>

Not sure if that's what you're after.

Ron


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