>> <?
>> if ($argc == 1) $tid = $argv[0];
>> if ($tid && !mgd_is_in_topic_tree(12,$tid)) $tid = 0;
>> if ($tid) $topic = mgd_get_topic($tid);
>> ?>
>>
>> and added to code of my products:
>>
>> <? $temat = mgd_list_topics(12); ?>
>> <p>
>> <? while ($temat && $temat->fetch()) { ?>
>> <a href="&(temat.id);.html">&(temat.name);</a>
>> <br>
>> <? } ?>
>> </p>
>>
>The various elements combine to one page that will be executed by PHP. The
>variables stay defined, so you could use $tid in the second part.
>
Am I to change 12 for $tid?
If I do it the product site points to root page :(
Piotras
--
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]