> I just tried this (with a page record I now realize). I got the expected
> failure or success depending on who I was logged in as. This is what I
> did:
> 
> <? $page = mgd_get_page(44);
>    $page->title=time();
>    echo "Update ";
>    if ($page->update()) { echo "OK"; } else {echo "failed"; }
>    echo "<br>";
>    $page = mgd_get_page(44);
>    echo "Title = >", $page->title, "<";
> ?>

OK, I must admin this code works... Note that I did an upgrade from RH6.2
to RH6.2 (after a few crashes due to power failure, my box wasn't very
stable), so it might have been it...

> Emile

-- 
Best Regards,

David Guerizec - Open Source Developer @ AurorA R&D

The Boulder Pledge : "Under no circumstances will I ever purchase anything
offered to me as the result of an unsolicited e-mail message. Nor will I
forward chain letters, petitions, mass mailings, or virus warnings to
large numbers of others. This is my contribution to the survival of the
online community."


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