| PHP3 Manual | ||
|---|---|---|
| Prev | Next | |
ldap_get_attributes -- Get attributes from a search result entry
Returns a comlete entry information in a multi-dimensional array on success and false on error.
ldap_get_attributes() function is used to simplify reading the attributes and values from an entry in the search result. The return value is a multi-dimensional array of attributes and values.
    return_value["count"] = number of attributes in the entry
    return_value[0] = first attribute
    return_value[n] = nth attribute
    return_value["attribute"]["count"] = number of values for attribute
    return_value["attribute"][0] = first value of the attribute
    return_value["attribute"][i] = ith value of the attribute
| Prev | Home | Next | 
| ldap_free_result | Up | ldap_get_dn |