pp wrote:

> Maybe it is planned but there could be very useful function:
> 
> $id = object->id;
> $field = object->field(could be abstract, content, whatever);
> mgd_update_object_field ($id, $field);
> 
> Personally I almost always update object content, so there is no need
> to me to get all data objects to browser and send it back to mysql.

You don't need to get it in the browser. If $content contains the new
content:

$obj = mgd_get_article($id);
$obj->content = $content;
$obj->update();

Emile



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

Reply via email to