bool mgd_update_attachment
(int id, string name, string title, string mimetype, int [score], int [author])
Minimum version: Midgard 1.4 (Bifrost)
Updates an existing attachment with the provided information.
Returns TRUE on success, FALSE on failure.
<?php $id = 13; $name = "newname"; $title = "newtitle"; $mimetype = "text/html"; mgd_update_attachment($id,$name,$title,$mimetype); ?> |