Results 1 to 1 of 1

Thread: Poll Help

  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default Poll Help

    Well im current making a system where all the votes and options are in one entry.

    So in options, it is set out like this:

    Yes||No||Maybe

    And in votes, it is set out like this:

    2||6||0

    So that simply means:

    Yes - 2
    No - 6
    Maybe - 0


    I have got all that working, but I'm having problem with the submit vote.

    So the array of:
    Yes = $array[0]
    No = $array[1]
    Maybe = $array[2]


    The values of each options are:
    Yes = 0
    No = 1
    Maybe = 2


    So if I voted "No", how to I make the value of votes from:

    2||6||0

    to

    2||7||0

    Sorry if it dosn't make seance, I got confused my self
    Last edited by Moh; 07-07-2008 at 03:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •