I can't find out how to sort this ... tried a few tricks from php.net -
but no !
I need to check several topic trtees for news ...

function blixtnews(){
?>
<A class="menublue">The 20 latest additions or modifications : <br></A>
<?php 
$article = mgd_list_topic_articles_all(84);
if ($article){
        for ($i = 0; $i < 10 && $article->fetch(); $i++) { 
           
$blixtart[]=array("$article->aldate","$article->id","$article->title");
        } 
}
$article = mgd_list_topic_articles_all(99);
if ($article){
        for ($i = 0; $i < 10 && $article->fetch(); $i++) { 
           
$blixtart[]=array("$article->aldate","$article->id","$article->title");
        }
}

=> sort here ???

while (list($var,$value)=each($blixtart)) {
    echo "$var: $value[0] $value[1] $value[2]<br>\n";
}

}

But the rest works out just fine !
(It's late and Im getting tired.)


-- 
Regards,
Blixten

Cellular : +46 (0)708-999 105

Linux & KDE !

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