Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8628203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:28:40+00:00 2026-06-12T08:28:40+00:00

I am working on a tube site that categorizes each video by its origin

  • 0

I am working on a tube site that categorizes each video by its origin country other than just the category.

I need to think of a voting system that will allow users to correct us if we made a mistake with the country and possibly suggest the correct one. So I thought there would be this + / – simple voting system. If the user clicks ‘-‘ then he’ll need to suggest the correct country.

Let’s say we said the video is from Brazil, the user should be able to vote against and choose the correct country from a list and submit. Then we would need to correct it manually.

I just can’t think of a way to create that option from the MySQL table angle. I mean there are 200 + countries in our DB, each has its ID and I was thinking of creating a table for the voting script: ID | video ID | Votes for | Votes Against | suggestions. I can’t think of the logic to fit in a way to suggest several of countries (creating a column for each country is not an option here..). The problem is basically that each user can suggest a different country. For example: 5 could say it is Argentina, 2 could say it is chile, 4 say Spain etc. How can I design the table to take many values with a previously unknown number of them?

I’m not that good with Databases..

There are plenty of good voting scripts out there but non of them have the suggestion feature. At least none I could find.

If you know a good script that can fit here it’s also great.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:28:42+00:00Added an answer on June 12, 2026 at 8:28 am
    video table   
       video_id 
    
    
    votes table
       video_id
       proposed_country_id
       voter_id
    

    Then select video, proposed_country_id, count(proposed_country_id) join votes using( video_id ) group by video_id, proposed_country_id

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

LoadHtmlString UIWebView is not working. I want to play embeded you tube video. I
I am trying to embed the you tube video in my web site .
To upload vedio on you tube i am using Gdata sample code. Its working
Working with an API that can handle multiple connections (i.e. sessions), each of these
Working with an undisclosed API, I found a function that can set the number
Working on an extension that use the new experimental devtools apis. How do you
Working on rewriting the front-end of my site in Coffeescript. I understand how to
Working with an API where I need to send a value over in an
Working with a Lucene index, I have a standard document format that looks something
working on xcode I realized that if I create a non-void method, I call

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.