Ken Pooley wrote:

> it seems to me this ought to work but...I keep getting an error....anybody
> still seeing clearly enough to tell me what I am doing wrong...the first
> section works...I get the sub topic from a topic....then I want to list all
> of the articles in that subsequent supbtopic.....it says the error is in
> the <? $leveli=&(topic.id); ?> but it hasn't worked other ways either......

Ken -- how many  consecutive days have you been up?

<?php $leveli = $topic->id; ?>

You are going to have a sore forehead from hitting yourself....

cat

>
>
> <? $topic= mgd_list_topics($argv[0]);
> if ($topic) for ($i = 0; $i < 3 && $topic->fetch(); $i++) { ?>
>   <strong><a
> href="/topic/&(topic.id);.html/">&(topic.name);</a></strong><br>
> <? $leveli=&(topic.id); ?>
>
> <? $article= mgd_list_topic_articles($leveli);
> if ($article) for ($i = 0; $i < 52 && $article->fetch(); $i++) { ?>
> &(article.title); <br>
> &(article.content);
> <? } ?>
>
> --
> 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]

Reply via email to