Jump to content

PHP Question - Storing...


Refused

Recommended Posts

Ok i am a little stumped at the moment.

Ok lets say i have set up a MYSQL table and made a register and login script that is connected to the table, so i got a complete Register and login script made.
Now what i want is for data, that they aquire later on after they have registered, to be stored for each user into the database for each user.
Here is an example - Say it was an rpg
"Say a user/member clicked on a link to take them to a small town in a text based rpg. They then get a random event wich would say they found a bag of money, and there was 10 dollars in that bag."
So then that amount of money would be added to that users account for the RPG. Then in another part of the code, say maybe a mini profile, i can call that part with their amount of money and display it, and it keeps going up when they get more.


Maybe that was to hard to understand.

Ok its like the users post count on a forum. Each time the user makes a post it is added to the database and displayed in their mini profile.


So do you think you could show me how to do that?
I have tried but it has really stumped me.

Thanks.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.