hdshngout
07-27-2005, 04:03 AM
is this at all possible, my site, users make guilds, and when they join a guild, they get a variable added to their info in my users database. Is there a way to use php to go through the users database, and list all of the members with a certin variable, so i can put a members count on each guild. They have it on neopets, and i think it would be kinda cool to have on my site
ex
Guild Name Guild ID # of Members
Guild 1 1 5 members
Guild 4 4 8 members
for guild one, the added variable would be a 1, i need the php code to go through the database and find all of the users with a 1 in their information, and then post a number. I am learning php, and i could use all the help i could get. Thank you for your help. :)
ex
Guild Name Guild ID # of Members
Guild 1 1 5 members
Guild 4 4 8 members
for guild one, the added variable would be a 1, i need the php code to go through the database and find all of the users with a 1 in their information, and then post a number. I am learning php, and i could use all the help i could get. Thank you for your help. :)