Hi Emiliano,
> Oy, PHP4 specific, sorry. Replace with
> $topics = array(28, 59, 62); reset ($arr);
> while (list(, $topic) = each ($topics)) {
It now looks like
...
$topics = array(28, 59, 62); reset ($arr);
while (list(, $topic) = each ($topics)) {
$article = mgd_list_topic_articles($topic, "reverse created");
if ($article && $article->fetch()) { $showlist[] = $article->id; }
}
foreach ($showlist as $articleid) {
$article = mgd_get_article($articleid);
?>
Error messages:
Warning: Variable passed to reset() is not an array or object in
content on line 105
line 105 is
$topics = array(28, 59, 62); reset ($arr);
Second error:
Fatal error: Call to unsupported or undefined function foreach() in
content on line 111
Of course. 111:
foreach ($showlist as $articleid) {
What does that need to look like? Thanks.
Alexander
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]