+ 3

can you create a like button and store the like value in the database???

this is practice program of creating a like button but there is a condtion you can give a like only onw time like the social site facebook and instsgram and you would store the value of the like in the database

15th Jun 2018, 4:27 PM
Darshan paunikar
Darshan paunikar - avatar
2 odpowiedzi
+ 1
let's assume if client change the ip address and first of all there is a login system assume also it and sorry i forgot to mention it thank you
16th Jun 2018, 6:21 AM
Darshan paunikar
Darshan paunikar - avatar
0
You need to store your client’s username/id if they are logged in to your website but if there is no user management in your website, you can store your client’s IP address and only let them to click the like button once and also make a database for like on the button and just increase the number of likes whenever a new client clicks the button. you should be able to make this using PHP, MySql, HTML and CSS
16th Jun 2018, 2:23 AM
Captain Object
Captain Object - avatar