Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+3 In what ways can an MNE improve or change its approach to IHRM?

Answered: 1 week ago