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
https://forums.phpfreaks.com/topic/108377-solved-mysql-question/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.