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 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Could it be due to your database information being incorrect, and echoing out the error.

  2. #12
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Apolva View Post
    I think you must have empty lines above the opening <?php tag on db_connect.php, remove those and try.
    PHP ignores empty lines as long as there is no code on there and that the line before it is ended with a ;

    So doubt tht would help

    Lew.
    Im not here to be loved, I love to be hated :-}


  3. #13
    Join Date
    Apr 2010
    Location
    Newcastle
    Posts
    655
    Tokens
    50

    Default

    Quote Originally Posted by Lewiie15 View Post
    PHP ignores empty lines as long as there is no code on there and that the line before it is ended with a ;

    So doubt tht would help

    Lew.
    This is incorrect.
    Last edited by Apolva; 26-07-2010 at 12:49 PM.

  4. #14
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    As with HTML, whitespace is ignored between PHP statements. This means it is OK to have one line of PHP code, then 20 lines of blank space before the next line of PHP code. You can also press tab to indent your code and the PHP interpreter will ignore those spaces as well.

    I rest my case.

    Lew.
    Im not here to be loved, I love to be hated :-}


  5. #15
    Join Date
    Apr 2010
    Location
    Newcastle
    Posts
    655
    Tokens
    50

    Default

    Quote Originally Posted by Lewiie15 View Post
    As with HTML, whitespace is ignored between PHP statements. This means it is OK to have one line of PHP code, then 20 lines of blank space before the next line of PHP code. You can also press tab to indent your code and the PHP interpreter will ignore those spaces as well.

    I rest my case.

    Lew.
    Please re-read my first answer which you were keen to disprove. The problem is caused by whitespace OUTSIDE the PHP tags, which is not parsed by the PHP engine and is outputted directly to the browser, flushing the headers.
    Last edited by Apolva; 26-07-2010 at 02:57 PM.

  6. #16
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Apolva View Post
    Please re-read my first answer which you were keen to disprove. The problem is caused by whitespace OUTSIDE the PHP tags, which is not parsed by the PHP engine and is outputted directly to the browser, flushing the headers.
    My bad I mis-read your post

    Anyway to expand on appy's explanation go here: http://kb2.adobe.com/community/publi...sid_50572.html

    Lew.
    Im not here to be loved, I love to be hated :-}


Page 2 of 2 FirstFirst 12

Posting Permissions

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