Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Ilinois
    Posts
    9
    Rep Power
    0

    Thanks for the help.

    I will be looking into this on Monday.

    Yes, in the PHP code, I tested the number of entries... echo "Number of entries returned is ".ldap_count_entries($ldapconn, $result)."<p>";

    But with the above code, it was always 1.

    I know I'm missing something... just need to work at it some more.

    Any thoughts Viper_SB?
  2. #17
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Ilinois
    Posts
    9
    Rep Power
    0

    Found the code I need to change !!!
    PHP Code:
    for ($i=0$i<$entries["count"]; $i++) {
            echo 
    $entries[$i]["member"]
                [
    50]."(".$entries[$i]["l"][0].")<br />"
    This code is from the above post. See the [50] in there. That is the 50th element in the array of the one (single) returned result. That was where I got confused. Everythime I change it to a different number and run the code, I get another listing

    OK... Now I will try and figure out the code to traverse the array.
    Later
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo