Question: 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.

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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!