pp wrote:

> I copied and pasted sample from
> http://www.midgard-project.org/manual/en/function.create-article.php
> it looks like article's id is not returned.

The sample code had a bug; mgd_create_article returns an int. I've
checked in a fix to the docs, but you want
   echo "Created article '$name' with id " . $article;
not
   echo "Created article '$name' with id " . $article->id;

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to