Hi, Here is the code:
$object=mgd_get_article($id); $att=mgd_get_attachment($attid); $object->deleteattachment($att->name) or die(mgd_errstr().": $att->name"); Output: Resource has dependants: filename.ext For 101% $att is an attachment of $object. Any hints? Solt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
