baseportal | ||
Start | ||
baseportal message board | |
Welcome to the baseportal message board... Please read the FAQ.
|
Selected message: | To the list |
Message from Liz on 10/7 2007, 03:17 +00:00Re: Connecting DBsI think this User Login Script from the script library could be modified to work (if someone who knows what they are doing wouldn't mind helping me :) ). http://baseportal.com/cgi-bin/baseportal.pl?htx=/main&uid=equiville&sid=2136445.0386481.34631478.0637364&type=0&dir=&cmd=bib&bcmd=load&bId=231 The features I am looking for are: - transferring of "money" (just numbers, not real money) - separate user logins - no user modification/deletion - total balance at the bottom of page - available list of all accounts & balances I don't know how to make it possible for users to transfer "money" (numbers) back and forth, which is what is making this hard. If someone could help, I would REALLY appreciate it! Thanks! |
|
All messages from this thread: | To the list |
Message from Liz on 10/7 2007, 02:12 +00:00Connecting DBsIs there a script available that would allow me to connect databases and allow users to transfer information from one user to another? I'd like to use this for a simulated bank. Basically to where users would be able to transfer "money" back and forth between users. User A could transfer "500" to user B, etc. Thanks! |
|
Message from ritsch on 10/10 2007, 08:57 +00:00Re: Connecting DBs>I don't know how to make it possible for users to transfer "money" (numbers) back and forth, which is what is making this hard. If someone could help, I would REALLY appreciate it! First you have to create 1 database. This database contains fields like 1. user/user_id -> first involved user 2. user/user_id -> second involved user 3. amount of money/numbers per item 4. item status user1 - received / paid 5. item status user2 - received / paid If analysed this database will show you the requested data. Userdata as address has to be stored in another database. |
Message from WhoCares? on 10/11 2007, 02:31 +00:00Re: Connecting DBsThis is only correct, if you are more interested in the transaction history, than in the amount in the accounts. And for that, fields 4 and 5 can even be omitted, if 1 is always the payer and 2 the reciever. A normal bank would have a main database containing only : 1 account number 2 user ID 3 amount The user ID points to a second database, containing : user name, password, adress, and any other info you might want. If each user can have only one account, these two databases can be combined into one. The transactions should be stored in a third database as explained, if you want to be able to show each user what happened. |
Message from Whocares? on 10/11 2007, 02:46 +00:00Re: Connecting DBsForgot to add : The transaction database log should probably contain the date/time the transaction happened and a status (was it sucessful or why it was refused). |
Messages from 900 to 1050: | To the input form |
> Connecting DBs from Liz on 10/7 2007, 02:12 +00:00 |
Re: Connecting DBs from Liz on 10/7 2007, 03:17 +00:00 |
Re: Connecting DBs from ritsch on 10/10 2007, 08:57 +00:00 Re: Connecting DBs from WhoCares? on 10/11 2007, 02:31 +00:00 Re: Connecting DBs from Whocares? on 10/11 2007, 02:46 +00:00 |
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >> |
© baseportal.com. All rights reserved. Terms of use |