Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8

Thread: Form Help +rep

  1. #1
    Join Date
    Jan 2007
    Posts
    790
    Tokens
    3,429

    Latest Awards:

    Default Form Help +rep

    Don't close thread until i say it works or w.e

    The problem wasn't solved therefore thread shouldn't be closed.

    Anyways, th0m4s..

    Yeah but don't i need to change anything 'selected.php' to make all the chekboxs that a person has selected appear? I tried to cheak all boxs and only 1 appears.

  2. #2
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    You're Becomig a pest, I'll have a look.


  3. #3
    Join Date
    Jan 2007
    Posts
    790
    Tokens
    3,429

    Latest Awards:


  4. #4
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    options.php

    Code:
    <html>
    <body>
    
    <form name="input" action="selected.php" method="get">
    Number 1:
    <input type="checkbox" name="option" value="Number 1" />
    <br />
    Number 2: 
    <input type="checkbox" name="option" value="Number 2" />
    <br />
    Number 2: 
    <input type="checkbox" name="option" value="Number 3" />
    <br /><br />
    <input type="submit" value="Submit" />
    </form> 
    
    </body>
    </html>
    Unsure about the selected.php


  5. #5
    Join Date
    Jan 2007
    Posts
    790
    Tokens
    3,429

    Latest Awards:

    Default

    It doesnt work. selected.php needs to be edited aswell for it to work.

  6. #6
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    i know, but i'm lost on what to do.

    Sorry can't help any further


  7. #7
    Join Date
    Jan 2007
    Posts
    790
    Tokens
    3,429

    Latest Awards:

    Default

    It's okay. I don't really mind anymore, i think i'm okay with what i've been given from you before. I'll just use radio button instead.


    Edit: Thanks anyways/

  8. #8
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Ok. I have edited the options.php for you to make it easier.

    Code:
    <html>
    <body>
    
    <form name="input" action="selected.php" method="get">
    Number 1: 
    <input type="radio" name="option" value="Number 1">
    <br>
    Number 2: 
    <input type="radio" name="option" value="Number 2">
    <br>
    Number 3: 
    <input type="radio" name="option" value="Number 3">
    <br>
    <input type="submit" value="Submit">
    </form>
    </body>
    </html>
    The selected.php is the same


Posting Permissions

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