Thread: Poll?
View Single Post
  #1 (permalink)  
Old Jan 4th, 2008, 21:46
Jack Franklin's Avatar
Jack Franklin Jack Franklin is offline
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,323
Blog Entries: 8
Thanks: 13
Thanked 6 Times in 6 Posts
Poll?

I would like to add a Poll to a website and ideally would like to create it myself. I've been thinking, and surely it should be possible using PHP and MySQL? The pattern would be something like:
When the user selects their option on the poll, it adds it to a column in the database. The php then counts the number of times each item appears in the database, and displays those values on the webpage. Am I on the right lines or am I looking towards javascript?

I'm trying to learn PHP so would rather code it myself. I have a MySQL database free on a domain.

Cheers,

Jack
__________________
Resources Administrator


Reply With Quote