Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Requests
[REQUEST] Currency [REQUEST]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hindi" data-source="post: 279405" data-attributes="member: 26187"><p>If you're talking about online currency then you need to build a table in the database and do something like </p><p></p><p>INSERT into currency values(,1,10000); <- whatever ur fields are..</p><p></p><p>For fetching them, you need something like</p><p></p><p>Select * from currency where username = {username}; <- Where username is like, when a user logs in theyhave their shit there..</p><p></p><p>for updating it you need something like</p><p></p><p>update table currency modify set = x where money = " "; <- you can set values here like money is a field in the table currency and when a user buys something online this query executes and their account is updated.</p></blockquote><p></p>
[QUOTE="Hindi, post: 279405, member: 26187"] If you're talking about online currency then you need to build a table in the database and do something like INSERT into currency values(,1,10000); <- whatever ur fields are.. For fetching them, you need something like Select * from currency where username = {username}; <- Where username is like, when a user logs in theyhave their shit there.. for updating it you need something like update table currency modify set = x where money = " "; <- you can set values here like money is a field in the table currency and when a user buys something online this query executes and their account is updated. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Requests
[REQUEST] Currency [REQUEST]
Top