I am starting to learn the ins and outs of PHP and have hit a roadblock. I am making a very simple poll application. Instead of vote-ins, this application would vote-out. What I mean is, the option with the maximum number of votes gets voted-out/eliminated from the poll.
I will create a timer for the vote counts, say, 1 day. Now I am not expecting anyone to draw out a tutorial for this (pointers may be helpful though), but request you all to address a small query:
- Is it possible to make an automated system, such that, after 24 hours, the most voted-for option gets deleted and the rest remains?
- Is it possible to use images (possibly JavaScript) for the options. I know it could be done, but some Internet link or example code would be highly appreciated.
- If I connect this application to Facebook, how do I make sure a user does not vote twice.
These might seem like beginner questions. Well, actually they are coming from a beginner.