September 2001
Intermediate to advanced
768 pages
32h 45m
English
array ldap_get_entries(resource connectionID, resource result)
Builds an array of multiple entry results.
Returns:
Multidimensional associative array of all entries; FALSE on error
Description:
ldap_get_entries() is a quick and convenient way to extract all the information from a result set and store that information in a multidimensional array. Multiple calls to the array elements can then be performed to extract the relevant information. The format of the array is quite complex and is constructed in the following manner:
| Element | Description |
|---|---|
| $return_array["count "] | Number of result entries |
| $return_array[n ] | Number of the entry |
| $return_array[n ]["dn "] | Distinguished name of the entry number |
| $return_array[n ]["count "] | Number ... |
Read now
Unlock full access