Re: [PHP-DB] What is a wrong parameter count error mean?

2002-12-27 Thread Jeffrey_N_Dyke
the function takes a certian number of required arguments(or parameters) and you're not passing enough. For this funtion it only takes one, which is the ldap resource link identifier. which was probably set in $var = ldap_connect(ldap_server). here the resource link identifer would be $var.

RE: [PHP-DB] What is a wrong parameter count error mean?

2002-12-27 Thread Rich Hutchins
Usually it means that you're not passing the expected number of arguments to a function. For example, the substr() function takes a minimum of two, maximum of three parameters: the string to search, the start position and the length of the substring to return. To correctly use the function, you