Jump to content

Newb Question - MySQL Counter


kramerkeller

Recommended Posts

This is an embarrasingly easy question.

 

So, I have a site and each time a particular page is viewed or an action called I simply want to increase a page count or action count in MySQL. 

 

Is there a simpler way than pulling the count from MySQL and then adding one and then restoring? 

 

I am not sure if there is some type of counter function or a way to update +1.  Any help would be great.

Link to comment
https://forums.phpfreaks.com/topic/42507-newb-question-mysql-counter/
Share on other sites

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.