simple arry problem

From: Date: Thu, 10 Apr 2003 14:32:01 +0000
Subject: simple arry problem
Groups: php.general 
Request: Send a blank email to php-general+get-143339@lists.php.net to get a copy of this message
Hi, I have the following array. how can I display "firstname", "abc@hotmail.com" and "abc" TNX! Array ( [objectclass] => Array ( [count] => 6 [0] => top [1] => person [2] => organizationalPerson [3] => inetOrgPerson [4] => nsLicenseUser [5] => mailRecipient ) [0] => objectclass [givenname] => Array ( [count] => 1 [0] => lastname ) [1] => givenname [sn] => Array ( [count] => 1 [0] => first name ) [2] => sn [cn] => Array ( [count] => 1 [0] => firstname lastname) [3] => cn [uid] => Array ( [count] => 1 [0] => abc ) [4] => uid [mail] => Array ( [count] => 1 [0] => abc@hotmail.com) [5] => mail [nslicensedfor] => Array ( [count] => 1 [0] => mail ) [6] => nslicensedfor [maildeliveryoption] => Array ( [count] => 1 [0] => mailbox ) [7] => maildeliveryoption [mailhost] => Array ( [count] => 1 [0] => mail.hotmail.com) [8] => mailhost [count] => 9 [dn] => uid=abc,o=tree )

« previous php.general (#143339) next »