Use this..........
set rstotalcustomers = conn.execute("Select COUNT(username) as Total from users WHERE sponsor = '" & membersid & "' and upgraded =1'")
Let me know it works or not....
Irfan Find Tutors Easyway to get connect with your tutor in india
Bookmarks