ldap_count_entries

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ldap_count_entries -- Count the number of entries in a search

Description

int ldap_count_entries (int link_identifier, int result_identifier)

Returns number of entries in the result or FALSE on error.

ldap_count_entries() returns the number of entries stored in the result of previous search operations. result_identifier identifies the internal ldap result.