note 10239 modified in function.ldap-get-entries by felipe
| From: | felipe@php.net | Date: | Tue, 22 Jul 2008 03:00:50 +0000 |
| Subject: | note 10239 modified in function.ldap-get-entries by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142474@lists.php.net to get a copy of this message | ||
Just a note: an multidemnsional array is like an array with in an array.... you have myArray[2]->
can refer to something like dc=americas,dc=icm,dc=org
Basically you have more elements that are buried with in one element of the parent array[],
myArray[2]
So, thats why you see myArray[1]["dn"][0] ... pulling out the first element in myArray[1]
and rollover the first element in it.
--was--
<p>Just a note: an multidemnsional array is like an array with in an array.... you have
myArray[2]-> can refer to something like dc=americas,dc=icm,dc=org
<p>Basically you have more elements that are buried with in one element of the parent array[],
myArray[2]
<p>So, thats why you see myArray[1]["dn"][0] ... pulling out the first element in
myArray[1] and rollover the first element in it.
http://php.net/manual/en/function.ldap-get-entries.php