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!


Page 2 of 5 FirstFirst 12345 LastLast
Results 11 to 20 of 47
  1. #11
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default

    no idea still dont work :p page loads in new same window but as full screen

  2. #12
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    Did you use the PHP link?

    PHP Code:
    <a href="index.php?page=home">Home</a
    ?
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  3. #13
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default

    yea :s gay php never liked it.

  4. #14
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Ok this is a basic overview of how to use it An include in php is like an iframe just different. But you place it (like an Iframe) where you want the text to show so as Mentor said the code is:
    PHP Code:
    <?php
    $_GET
    ['page'];  
    if(
    $page == "home")
    {
    include(
    'home.php');
    }
    elseif(
    $page == "news")
    {
    include(
    'news.php');
    }
    else
    {
    include(
    'home.php');
    }

    ?>
    So to set it out with a naVigation you could do it like so:
    HTML Code:
    <table border="0" cellpadding="0" cellspacing="0" valign="top">
    <tr>
    <td width="200" bgcolor="99ccff">
    LINKS<br>
    <a href="index.php?page=home">Home</a></td>
    <td width="50"></td>
    <td width="450" bgcolor="99ccff" height="100">
    <?php
    $_GET['page'];  
    if($page == "home")
    {
    include('home.php');
    }
    elseif($page == "news")
    {
    include('news.php');
    }
    else
    {
    include('home.php');
    }
    
    ?></td>
    </tr>
    </table>
    Tha just give you a navigation box and also a box where the include appears


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  5. #15
    Join Date
    Nov 2004
    Location
    Daventry, Northants
    Posts
    1,510
    Tokens
    0

    Latest Awards:

    Default

    Yesss
    finnaly a good tutoriul instead of these stupid copie and past ones

    If this dosent get stuck ima stab someone

    James did try to explain to me the other day but i just got really confused
    Oh well, I'll give it ago again ;D

  6. #16
    Join Date
    Mar 2005
    Location
    Dog House
    Posts
    1,000
    Tokens
    0

    Latest Awards:

    Default

    omg u owe me anderman :p i searched for php and i wanted this and i got it posted this is a OLD thread

  7. #17
    Join Date
    Nov 2004
    Location
    Daventry, Northants
    Posts
    1,510
    Tokens
    0

    Latest Awards:

    Default

    I know and it best get stuck pronto or im going to start gatting down moderators

  8. #18
    Join Date
    Aug 2004
    Location
    Sawley
    Posts
    771
    Tokens
    1,631
    Habbo
    T0X!C-uk

    Latest Awards:

    Default

    Move to tutorials

  9. #19
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default

    wow this threads ancient i cant believe its still getting bumped
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

  10. #20
    Join Date
    Nov 2004
    Location
    Daventry, Northants
    Posts
    1,510
    Tokens
    0

    Latest Awards:

    Default

    .................
    Last edited by Anderman; 05-08-2005 at 05:30 PM.

Page 2 of 5 FirstFirst 12345 LastLast

Posting Permissions

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