fortypoundhead.com

Database Help

Nick asked this question on 9/10/2012. It has been viewed 697 times, and is currently resolved.

I could use some help with my database for a like button, Everytime someone clicks Like, i want it to add +1 to the column in the table, such as if the current one is 3, and someone new clicks it, it will go up to 4.

Keywords:

Answer from dwirch on 9/10/2012

First, you must get the current number of "Likes" the posting has. Then, add one to the number, and write the new number back to the database.

Reference:My BRain



Recent Forum Posts

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers

New security implemented
dwirch posted on August 8, 2017 at about 6:43 in Site News

New security implemented
dwirch posted on July 23, 2017 at about 6:58 in Site News

Fold Code Manager into main KB?
VB6Boy posted on July 22, 2017 at about 14:42 in Site News

Fold Code Manager into main KB?
dwirch posted on July 22, 2017 at about 14:41 in Site News