note 7599 added to ldap_mod_del
| From: | Unknown Sender | Date: | Tue, 08 Aug 2000 15:13:45 +0000 |
| Subject: | note 7599 added to ldap_mod_del | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-649@lists.php.net to get a copy of this message | ||
To remove all instances of an attribute you can use ldap_modify.
$entry["mail"] = "";
$result = ldap_modify($connID, $dn, $entry);
http://www.php.net/manual/function.ldap-mod-del.php