HabboxWiki needs you!
Are you a Habbo buff? Or maybe a rare trader with a bunch of LTDs? Get involved with HabboxWiki to share your knowledge!
Join our team!
Whether you're raving for rares, excited for events or happy helping, there's something for you! Click here to apply
Need a helping hand?
Check out our guides for all things to help you make friends, make rooms, and make money!


Results 1 to 1 of 1

Thread: Poll Help

  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    1,734
    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
  •