Hey,
I need help with a bit of code. What I need it to do is first find out what type of user it is, then how much each type of user gets, then either display a button to add money to the account or a message saying they can't get money. It needs to happen every seven days, but say if a user gets their money on Tuesday, they can't get it again until next Tuesday. It's not like theres a set day. Thanks in advance guys!
User Money System
Moderator: General Moderators
- SilverMist
- Forum Commoner
- Posts: 65
- Joined: Tue Mar 02, 2004 2:06 pm
- Location: Canada
- Contact:
- SilverMist
- Forum Commoner
- Posts: 65
- Joined: Tue Mar 02, 2004 2:06 pm
- Location: Canada
- Contact:
- SilverMist
- Forum Commoner
- Posts: 65
- Joined: Tue Mar 02, 2004 2:06 pm
- Location: Canada
- Contact:
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
okay.. well you'll need a query to join the user's type to how much money the receive, and when they last received payment. You may want to research Crons for a daily update run that'll add money to any account due funds..
edit: darn spelling..
edit: darn spelling..
Last edited by feyd on Sat Feb 05, 2005 9:42 pm, edited 1 time in total.
- SilverMist
- Forum Commoner
- Posts: 65
- Joined: Tue Mar 02, 2004 2:06 pm
- Location: Canada
- Contact: