how to display the number of member's of the site

Discussion in 'JavaScript' started by rafiqasad, Jan 15, 2007.

  1. #1
    i want to show the number of register user's on my site. I want that this field automatically refreash without refreshing the whole page. please some one guide me
     
    rafiqasad, Jan 15, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Take an Ajax approach, but this is not purely Javascript. you will need a server-side script to hit your database or session (or however you are tracking current registered users) to retrieve the data and pass it back to your JS function.
     
    ccoonen, Jan 15, 2007 IP
  3. rafiqasad

    rafiqasad Member

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Ya u are right. I accomplish this take with the help of AJAX and PHP but thanks for ur comments
     
    rafiqasad, Jan 15, 2007 IP