>-----Original Message-----
>From: Emiliano [mailto:[EMAIL PROTECTED]] 
>Sent: 27. mai 2001 16:39
>To: [EMAIL PROTECTED]
>Subject: Re: [midgard-user] HELP!
>
>
>Vidar Berg wrote:
>
>> I cant get the listattachments function to work.
>> 
>> Here is my testing script:
>> 
>> <?
>>   $article = mgd_get_article(28);
>>   $list    = $article->listattachments();
>
>You can test the value of $list at this point. If it's false,
>mgd_errstr() will tell you why.

Hi,
echo $list; echo mgd_errstr(); 
returns: Object does not exist.

>>
>> If I try the example in the midgard manual, with the same article id,
>> 
>> <?php
>>   $article = mgd_get_attachment(28); # article with id 123 must
exist.
>
>This is wrong, and should read
>   $article = mgd_get_article(28); # article with id 123 must exist.
>
>I've fixed that in the docs.
>
>Emile
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to