0
How to code like and dislike button using php, jquery, mysql
i need ur help pls
1 Odpowiedź
+ 1
Easily! Create new mysql database with 1table and 3 rows.
VideoId,Likes,Dislikes.
When user clicked button like/dislike you checking is user liked/disliked content or not. If not ->increase value of likes/dislikes in db