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 4 of 4
  1. #1
    Join Date
    Apr 2006
    Posts
    10
    Tokens
    0

    Default Slight trouble with my PHP script, not showing news anymore?

    Hey,
    www.uniqueego.com/index2.php

    Why isn't the command fetching the requested page?

    I'm sure it's wrong or something?

    Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Newcastle
    Posts
    397
    Tokens
    0

    Default

    Try:
    PHP Code:
    <?php

    include("news/news.php");

    ?>
    Instead of:
    PHP Code:
    <?php
       
    include('news/news.php');
          
    ?>

  3. #3
    Join Date
    Feb 2006
    Posts
    2,185
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Unique!
    Hey,
    www.uniqueego.com/index2.php

    Why isn't the command fetching the requested page?

    I'm sure it's wrong or something?

    Thanks.
    Make sure its saved as .php for starters and if your using frontpage DONT copy and paste this..

    PHP Code:
    <?php
       
    include('news/news.php');
          
    ?>
    Click 'code' and find where you want the news to display and THEN copy and paste it.

  4. #4
    Join Date
    Apr 2006
    Posts
    10
    Tokens
    0

    Default

    Where's code?

    Thanks

Posting Permissions

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