Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am trying to create a web page for daily discussion that has topic based on regions and a user can vote based on that
I am trying to create a web page for daily discussion that has topic based on regions and a user can vote based on that topic content then the topic or post will be placed in the (hot topic in ascending order based of how many votes on the post).
HOW I CAN IMPLEMENT A PHP CODE FOR (Upvote/Downvote and keep track of all votes in a database and retrieve them properly ).
see detail in the databases given.
Date Arch Post ID Post LeveTopic Name Archives Region Reaion ID Region Name Country User User IDUsemae Password Up_CommentsUp_Topics Region ID Comment Post IDCont ID ParentIDUpotes DownvotesUserD CommentDate_Sub Post User ID Post IDTopic NametePtUpvotes Downvotes Topic User ID Post IDTopic NameDate SubUpvotes Downvotes Comment Archives Post IDComment IDParent IDts DowvotesUserD CommentDate Sub Date Arch Post ID Post LeveTopic Name Archives Region Reaion ID Region Name Country User User IDUsemae Password Up_CommentsUp_Topics Region ID Comment Post IDCont ID ParentIDUpotes DownvotesUserD CommentDate_Sub Post User ID Post IDTopic NametePtUpvotes Downvotes Topic User ID Post IDTopic NameDate SubUpvotes Downvotes Comment Archives Post IDComment IDParent IDts DowvotesUserD CommentDate Sub
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started