For a sportsteam's website i'm looking for a free script in which the user can vote for the "player of the week" (up to 14 players) and has to give his/her e-mail address to complete the vote so we can draw a winner out of all votes.
Printable View
For a sportsteam's website i'm looking for a free script in which the user can vote for the "player of the week" (up to 14 players) and has to give his/her e-mail address to complete the vote so we can draw a winner out of all votes.
Quit posting twice in a row, use correct markup codes, and quit having people email you for answers.
The point of the forum is to discuss the questions in a thread so that everyone can learn and benefit from each other.
EDIT: This was directed at yoshi, and he seems to have deleted the posts in question.
I didnt mean to post twice and lets just be friends please?
And fine ill tell you how but I dont think its php ok
then just keep doing that with diffrent values and names.HTML Code:<form method="post" action="right here type the
php thing you want it to send it to, mailto:you email ,or
you cgi email">
<input type="checkbox" value="value"
name="name of poll no.1no.1>
HTML Code:and to put in there emaail do <input type="email" name="email">
then <input type="submit" value="submit"><input type="reset" value="clear form"></form>
You've posted twice in several threads. That's why I said it.
The above code is a bit strange. Might work, but, for example, i have never heard of the <input type="email"> code. But... maybe...
I use it
i'm really looking for PHP so the users can see immediatly the "score" of the poll and i can put in some code so they don't vote twice
Well, seems like a database thing.
It's really not that complex if you know some PHP.
Here's a starter tutorial-- http://php-mysql-tutorial.com
See if that helps.
Generally, polls check the IP to be sure that people don't vote twice, but that can be faked by just using a new machine (or, if possible, a new IP).
You could do a login, but that's more complex.
Just have a form, have the php take the sent value of the radio buttons or select, etc. then add to a database as a 'vote' then, when displaying, do an average of all votes, and that's it.
Try this script
http://dhtmlgoodies.com/index.html?w...pt=ajax-poller
Hope this helps.
Quote:
Originally Posted by yoshi555
...is no different thanCode:<input type="email">
and if anything, it is invalid.Code:<input type="text">