Database Help

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

Disapprove Delete

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.


Answer from dwirch on 9/10/2012

Disapprove Delete

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

Code Links