View Single Post
  #4 (permalink)  
Old 11-30-09, 08:04 AM
scott2500uk's Avatar
scott2500uk scott2500uk is offline
Coding Addict
 
Join Date: Apr 2006
Posts: 275
Thanks: 2
Thanked 2 Times in 2 Posts
When I've worked with AD in the past some elements are stored as an array.

You might be thinking that:

PHP Code:

$adresults['streetAddress'] = "Some Street Address"
When actually its found in

PHP Code:

$adresults['streetAddress'][0] = "Some Street Address"
Just do a:

PHP Code:

echo "<pre>";

print_r($adresults);
echo 
"</pre>"
So you can see the layout of your results.
Reply With Quote