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 5 of 5
  1. #1
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default PHP Includes Help

    I'm using the PHP nav thing, so I get index.php?id=main etc.
    But what happens if the page i want to include has its own ?whatever=whatever

    Because I'm wanting to include the user system in the page, but some parts of the user system are like that.

    If you know what I mean LOL.

    +Rep for any help thanks.

  2. #2

    Default

    So you mean like

    index.php?id=login
    Random PHP Script Of The Week

    PHP Code:
    <?php
    // Made by RobbiePwnage Of HabboxForum.com
    // Visual Basic Message Maker
    $msg $GET_['msg'];
    $title $GET_['title'];
    echo(
    'Code For Message In Visual Basic:<br><br>Private Sub Command1_Click()
    MsgBox \"$msg\" & vbNewLine & \"- RobbiePwnage\", "$title - RobbiePwnage\"
    End Sub'
    );
    ?>

  3. #3
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default

    Right I am including say members.php in index.php
    so it is index.php?id=members

    but when members.php is on its own it has like members.php?member=dan

    so when it is on index.php?id=members
    and I want it to do member=dan
    what do I do?

  4. #4

    Default

    index.php?id=members&member=dan
    Random PHP Script Of The Week

    PHP Code:
    <?php
    // Made by RobbiePwnage Of HabboxForum.com
    // Visual Basic Message Maker
    $msg $GET_['msg'];
    $title $GET_['title'];
    echo(
    'Code For Message In Visual Basic:<br><br>Private Sub Command1_Click()
    MsgBox \"$msg\" & vbNewLine & \"- RobbiePwnage\", "$title - RobbiePwnage\"
    End Sub'
    );
    ?>

  5. #5
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default

    thanks +rep

Posting Permissions

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