PP wrote:

> I've tried something like this:
> 
> <? mgd_list_topics(xx) ?>

This function returns a cursor object. You need to assign it to a
variable, say


<? $topic=mgd_list_topics(xx) ?>

Now you can do something like

<? while($topic->fetch(){ ?>

  <a href="&(topic.url);">&(topic.url);</a> <? } ?>


Have a look at the example site and the docs.


Frank

-- 
Dr Frank Boehme                      | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-903163
Dept of Computer Science             |   fax: +353-21-903113
Cork, Ireland                        |

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