![]() |
Amount in bank for all users ?
How do i see how many points each member have in the bank ?
|
[sql]SELECT bank.*, user.username FROM utt_store_bank bank LEFT JOIN user user ON (user.userid=bank.userid);[/sql]
|
I get no results when running that query :ermm:
I kinda need 1 query that shows all users amount in the bank. |
Well, I can't test that further, since no one has anything in the bank where I tested it. ;)
Are you sure there is someone with anything in the bank? |
Yes, several members have points in the bank.
|
There, I changed the query a bit. Try it now.
|
Still no worky :/
Also need a way to put all members bank points back in their pocket so i can close the bank. I wanted the above as security, to have a list of what the members had in bank before closing it down. |
:/
umm, how about this then.... Where can i remove the link "Deposit" so only withdraw is left, so ppl only can withdraw but NOT deposit ? thnx |
You would need to forcibly remove parts of the bank script.
|
Quote:
[sql]SELECT * FROM utt_store_bank;[/sql] iirc, its stored in an array in the user table, not in the utt_store_bank table... edit: yeah, its in uttstore_bankdata in the user table, but I have no idea how to get it out of an array. LOL |
All times are GMT. The time now is 07:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|