Hm.
I guess the point is that the user does not se the same articles twice.
Therefore, use cokies.
Tarjei
> -----Original Message-----
> From: Alexander Levenetz [mailto:[EMAIL PROTECTED]]
> Sent: 4. februar 2001 17:12
> To: [EMAIL PROTECTED]
> Subject: [midgard-user] fetch new article every time page reloads
>
>
> Hello,
>
> I use
>
> <?
> $article = mgd_list_topic_articles_all($topic_id); {
> $displayed = 0;
> while ($displayed < 4 && $article && $article->fetch()) {
> if (mgd_is_article_in_topic_tree(94, $article->id)) { continue; }
> if (mgd_is_article_in_topic_tree(111, $article->id)) { continue; }
> $displayed++;
> ?>
>
> to display the 4 most recent articles of a certain topic.
> How can I make this work that way (a seperate script!), that every
> time the page is reloaded a new article (most recent article should
> not be a criteria anymore!) of a certain topic is shown at these 4
> places whereas no article should be displayed more than one time on
> the same page/refresh cycle.
> I hope this was somehow understandable... It should work like a
> placeholder for an advertisement banner that changes (out of a pool)
> every time the page is reloaded till is appears again after a while.
> Thanks!
>
> Alexander, who starts to like Midgard...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]