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 15 of 15
  1. #11
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by Tomm View Post
    Or even better idea:

    Replace:

    PHP Code:
     echo  "{$txt} to you"
    With:
    PHP Code:
      echo  '$txt to you'
    It's a better habit to get into my way.

    Oh, and not forgetting variables don't pass in single quote echoes.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  2. #12
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    they pass in

    " ";
    (" ");
    and just echo $variable;

    i think they work in ("");?

  3. #13
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    I think Carl he isnt saving the write extension
    as far as i can tell the main problem is he isnt saving at all? not that hes saving it wrong o.0
    Hes also not retrieving the data he probably needs to save at any point o.0

  4. #14
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Tomm View Post
    Or even better idea:

    Replace:

    PHP Code:
     echo  "{$txt} to you"
    With:
    PHP Code:
      echo  '$txt to you'
    And here's the proper PHP.net defined way on how to do it:
    PHP Code:
     echo "$text to you"
    And here's how I'd do it:
    PHP Code:
    echo("$text to you"); 


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  5. #15
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    I'd normally use

    PHP Code:
    echo $text." is in the variable"
    But if they all work, it doesnt really matter.
    Last edited by ZAG; 31-01-2007 at 05:20 PM.

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

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
  •