September 2001
Intermediate to advanced
768 pages
32h 45m
English
array ldap_get_values(int connectionID, int result, string attribute)
| connectionID | Connection ID |
| result | Result ID for which to retrieve attributes |
| attribute | Attribute name to turn into an array |
Makes an array of multiple attributes.
Returns:
Array of all values; FALSE on error
Description:
ldap_get_values() returns an array containing all the values for a particular attribute. The total number of attributes for an entry can also be determined from the value of the count array index.
Availability:
UNIX/Linux, Windows
Version:
3.0.12+, 4+
See also:
ldap_get_values_len
Example:
$attr = ldap_first_attribute($ldapconn, $entry, &$ber); while ($attr) { $vals = ldap_get_values($ldapconn, $entry, $attr); ... |
Read now
Unlock full access