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 7 of 7
  1. #1
    Join Date
    Jul 2006
    Posts
    202
    Tokens
    0

    Default Meh, i need help ^.^

    Ok i have this:

    PHP Code:
    echo("<form action=\"edituser.php?user=$_POST[username]\"><font face=\"Verdana\" size=\"1\"><b>Edit User</b><br><br>Please type in the user you wish to edit<br><input type=\"text\" input size=\"25\"  name=\"username\"><br><br><input type=\"submit\" name=\"edituser\" value=\"Edit This User\"></form>"); 
    When i press submit it goes to this:

    edituser.php?username=Ryan&edituser=Edit+This+User

    So its adding on &edituser=Edit+This+User to the end and is going to username=Ryan not user=Ryan and i dont understand why ^.^
    Pssht

  2. #2
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    On your form, change the username field to user

  3. #3
    Join Date
    Jul 2006
    Posts
    202
    Tokens
    0

    Default

    Ah yes, how dumb of me lol..

    Anyhow it still adds &edituser=Edit+This+User to the end of it though :L
    Pssht

  4. #4
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    The submit has its value at "Edit User", so remove that

  5. #5
    Join Date
    Jul 2006
    Posts
    202
    Tokens
    0

    Default

    If it doesnt have Edit User it will be a blank button :|
    Pssht

  6. #6
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    Post your form code

  7. #7
    Join Date
    Jul 2006
    Posts
    202
    Tokens
    0

    Default

    Ha im so thick somtimes, submit buttons dont need a name do they! Ha mod close fixed.
    Pssht

Posting Permissions

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