getUsers(); //$bla = array (attr1, attr2); //$userlist = array ($bla, $bla, $bla, $bla); echo "\n"; // print attribute headers echo "\n"; foreach ($userlist[0] as $attributes) { echo (""); } echo "\n"; // print user list foreach ($userlist as $user_attributes) { echo "\n"; foreach ($user_attributes as $attribute) { echo "\n"; } echo "\n"; } echo "
" . $attributes["dn"] . "
$attribute
\n"; ?>