How can I use PHP code to implement the like and reply functions?
Source: Internet
Author: User
Which of the following experts will use PHP code to implement the like and reply functions? I am grateful to anyone who will use PHP code to implement the like and reply functions? Which of the following experts will use PHP code to implement the like and reply functions?
I am grateful to anyone who will use PHP code to implement the like and reply functions? Share:
------ Solution --------------------
You can add a field to the original reply table to store the number of shards.
In addition, you can create a separate table to store the number of article IDs and shards.
Both methods are feasible.
The practice is actually very simple. it is just like the article's browsing times, but the difference is that the browsing times are automatically accumulated, while the manual clicking is required.
------ Solution --------------------
Just open a new field to store the "like" data.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service