Small problem. I am trying to have a "menu" list articles and then
present them when clicked. So far, I've done it by passing a variable
&($article.id) to the page and have it server up the content. The
problem I'm running into is that the first item on the list is alwasy
presented with a dollar sign in front of it (so is the id #). The code
and output are listed below:
code:
<p>
<? { $link = mgd_get_article(11); ?>
<strong><a href="/about/" >&(link.title);</a></strong><br>
</p>
<ul>
<? }
$topic = 25;
$article = mgd_list_topic_articles( $topic, "score");
while( $article->fetch() ) {
?><li><a href="/about/?id=&($article.id);">&($article.title);</a>
</li>
<?}?>
</ul>
output:
About
$About
Server Hardware
Server Software
if I remove the "score" sorting, a different one comes to the top, but
still has the $ in front of it. Of course, if I try to access the link
with the dollar sign, I get an invalid object. Any ideas?
BTW. the page can be visited at http://www.internest-pub.com/about/
Jamie
--
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]