I have the code below and for some reason I am unable to pull the fax number. I keep getting Undefined index: fax. i know this is working because I tried sn and it gives me the last name of the user.
$username = $row['login'];
$userinfo = $adldap->user()->info($username, array("*"));
$efax = $userinfo["fax"];
$telephone = $userinfo["telephone"];