Jump to content

[SOLVED] mysql question


kev wood

Recommended Posts

is it possible to have a number stored in a db and instead of updating the table with a new number can you get it to ad the numbers together without first extracting the number from the db.

 

if i unclear in what i am trying to ask please let me know i will explain in more detail.

Link to comment
Share on other sites

that would just add one to the number stored would it not.

 

i have count running which is stored in the mysql db.  i only want the user to be able to perform a task so many times in one day.  so each time the user logs on a does this action x amount of time i want this number to be added to the number already stored in the db so there is a running total of how many times the action has been completed.

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.