Web Analytics Made Easy -
StatCounter Using user-entered values to populate a pie chart - CodingForum

Announcement

Collapse
No announcement yet.

Using user-entered values to populate a pie chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using user-entered values to populate a pie chart

    Hi all,

    I am currently in the process of creating a website. The idea is that when users first login, they are presented with a popout box which asks them 2/3 questions, to which they can chose a number of specified answers. This data would then be used to populate a pie chart which would show up-to-the-minute info on what other users have chosen as their answer. I presume that some sort of database would be needed to store such values and then populate the pie chart. Has anyone got an idea of how I would go about this?

    Any help would be much appreciated.

    Thanks

  • #2
    What you want to do is called a poll. See this article:
    http://php.about.com/od/finishedphp1...e_poll_php.htm

    And for script that doesn't require a database:
    http://www.dbscripts.net/poll/
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.

    Comment

    Working...
    X