>> <? $article = mgd_get_article($myid);
>> $article->content = 'blabla';
>> $article->url = 'blabla';
>> $article->update(); ?>
>>
>> and I got error "Name exists".
Ok, I just got to understand this correctly. when doing ->update() you only
change the values that you have redefined in an article, right?
You do not create another article?
What is the behavior today? I thought the above is the correct way of doing
things ;) According to the manual (the way I read it anyhow) the above code
should change two fields in an article to a new content, IF you got write
rights to that article, that is :)
Tarjei
> OK, this is easily changed; the point of what would be the desired
> behaviour remains. Votes, thoughts, people?
>
> In the meantime, if the name doesn't mean anything to you, you could
> set it ti a random value or the current time or somesuch.
>
> Emile
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
____________________
Tarjei Huse
920 63 413
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]