> code-init: 

This is good. Here's what I overlooked the first time:

($a = mgd_list_topic_articles($topic->id)))  { ?>
  <p><? while ($a->fetch(12))
    printf('<a href="%d.html">%s</a><br>%s',
      $a->id, 69: $a->title ? htmlentities($a->title) : ('article #' . 
      $a->id),
      "\n"); ?>
</p>
<? } ?>

With this printfthe generated urls will point to the topic fetching page
where you want the article. Try '<a href="/article/%d.html"%s</a><br>%s'
instead. There needs to be an active page /article that does something
usefull of course.

Emile


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