Thanks a lot.
g a r y b u r k i n
w e b d e v e l o p e r
A M A Z E ...
Amaze Ltd
Condor House
5-14 St Pauls Church Yard
London EC4V 5AN
Tel: +44 (0)207 213 9669
Direct : +44 (0)207 332 5648
Fax: +44 (0)207 248 4082
Email : [EMAIL PROTECTED]
Web: http://www.amaze.com
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 3:07 PM
Subject: Re: [midgard] displaying articles based on their creation date
> 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]
--
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]