[Help] Sql Database and voting system.

Results 1 to 5 of 5
  1. #1
    Novice BrandonM is offline
    MemberRank
    Jul 2009 Join Date
    3Posts

    [Help] Sql Database and voting system.

    Hi, I was wondering if anyone could help me recreate this voting system these guys have WeiserCraft . If you vote for them you get 500 credits on their server.

    Thanks


  2. #2
    something Erlend is offline
    MemberRank
    Dec 2007 Join Date
    Oslo, NorwayLocation
    791Posts

    Re: [Help] Sql Database and voting system.

    First of all you need to set up a database, which both the server and the website is connected to.

    The database needs a players table, and a money field. When users vote on the webpage, the php code will set 500 coins into the field.

    Since the webpage and the server shares the same db, they will both be updated.

    If you are unsure how to create this sytem, then do some research on how to make plugins for bukkit, (Bukkit Forums, as they support sql dbs) and php / mysql.

  3. #3
    Novice BrandonM is offline
    MemberRank
    Jul 2009 Join Date
    3Posts

    Re: [Help] Sql Database and voting system.

    I use iConomy and have the myspl database already set up. I just don't know how to do the php part I guess it is.
    This is the table

  4. #4
    Apprentice MauriceRetro is offline
    MemberRank
    Mar 2010 Join Date
    The NetherlandsLocation
    17Posts

    Re: [Help] Sql Database and voting system.

    Uhmm.. i think its df

  5. #5
    Novice BrandonM is offline
    MemberRank
    Jul 2009 Join Date
    3Posts

    Re: [Help] Sql Database and voting system.

    df meaning?



Advertisement