Poll?

This is a discussion on "Poll?" within the PHP Forum section. This forum, and the thread "Poll? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 4th, 2008, 21:46
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 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
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote

  #2 (permalink)  
Old Jan 4th, 2008, 22:08
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Poll?

Ok, I found this:
http://www.joedolson.com/poll-with-php-and-mysql.php

I have not coded it, but this seems great

I'll get back to you when I try it out.
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
  #3 (permalink)  
Old Jan 4th, 2008, 22:22
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Poll?

Looks crappy.
Get a nice AJAX one
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #4 (permalink)  
Old Jan 5th, 2008, 08:36
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Poll?

Find me one then :P

I'll have a look.
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
  #5 (permalink)  
Old Jan 5th, 2008, 10:10
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Poll?

Making a small API a minute, will try and find a nice one later though!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[poll] Which is the best 360 game? CloudedVision Webforumz Cafe 4 May 22nd, 2008 10:17
Need help with a poll karinne PHP Forum 4 Oct 6th, 2007 12:17
Poll robukni PHP Forum 1 Apr 12th, 2007 13:39
Image Poll Help errant PHP Forum 3 Jan 4th, 2007 14:36
Flash Poll JacobHaug Flash & Multimedia Forum 12 Sep 6th, 2006 13:39


All times are GMT. The time now is 05:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43