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 46
  1. #11
    Join Date
    May 2008
    Posts
    605
    Tokens
    0

    Default

    Quote Originally Posted by Dentafrice View Post
    ""; and ''; are the proper ways, no use to make it into a method.

    Naresh's user system was badly coded, as he now admits ;P
    You could use ''; aswell but ""; is the proper solution. Naresh's usersystem was badly coded as you said but it set the tone for a few PHP coders today

  2. #12
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    I just said ''; and "";, you don't need to tell me what are the "proper solutions", I believe I know a tad bit more then you

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

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    I just said ''; and "";, you don't need to tell me what are the "proper solutions", I believe I know a tad bit more then you
    And I believe I know a "tad bit" more than you, no need to boast now, and using either ("") / ('') or '' / "" is correct, it's just what you use for your coding style, i don't use () on return ''; but I use it on echo(); It's just a personal choice, there are no rights or wrongs here.


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

  4. #14
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent1 View Post
    Read what I said above, my coding is not clean when I'm doing it for myself, client coding is clean and uses proper terms and syntax. Secondly I don't have access to my servers at the moment so I can't test out the outcome can I?

    Yeah, I knew the proper way, just thought there may be another way Haha, (" ") is a bad bad habit I'm sure a lot of coders share
    Sorry, but to have a client, and code like that, even without testing, is impossible... unless your client is seriously mentally impaired.

    Oh, and I've said this a million times, using parenthesis on language constructs DOES slow the script down.

    Also a quick clarification for a lot of people who don't seem to understand the difference between '' and "", the MAIN difference (not the only) is that using double quotes you can have variables inside it.

    Example

    PHP Code:
    echo "$hello"//works
    echo '$hello'// doesnt work

    echo "hello"//works
    echo 'hello'// also works and is a lot faster 
    Last edited by Hypertext; 29-08-2008 at 03:49 AM.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  5. #15
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    I use
    echo( 'Pls ***' );

    cuz its me personal choice yo yo & looks well sxi lyk mr sxi bear xoxox

    Hi, names James. I am a web developer.

  6. #16
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    2,009

    Latest Awards:

    Default

    Quote Originally Posted by Excellent1 View Post
    Secondly I don't have access to my servers at the moment so I can't test out the outcome can I?
    Xampp

  7. #17
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    And I believe I know a "tad bit" more than you, no need to boast now, and using either ("") / ('') or '' / "" is correct, it's just what you use for your coding style, i don't use () on return ''; but I use it on echo(); It's just a personal choice, there are no rights or wrongs here.
    *Removed*. "Blah" and 'Blah' are the proper ways, I just asked the other developers @ work - they have qualifications in most languages and I'm sure they would know the best way... ('') works, but it looks naff.

    Anyhoo, just do a while statement with an echo in it.... rather than the while in an echo as that is just not possible..


    Edited by ,Jess, (Forum Super Moderator): Please do not be rude towards other forum members.
    Last edited by ,Jess,; 29-08-2008 at 01:16 PM.


    www.fragme.co = a project.

  8. #18
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Source View Post
    You are the biggest **** on this forum, end of story. "Blah" and 'Blah' are the proper ways, I just asked the other developers @ work - they have qualifications in most languages and I'm sure they would know the best way... ('') works, but it looks naff.
    So you're flaming me for saying exactly what they said before you asked them?

    Well done.


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

  9. #19
    Join Date
    May 2008
    Location
    Birmingham
    Posts
    307
    Tokens
    0

    Default

    Quote Originally Posted by Source View Post
    You are the biggest **** on this forum, end of story. "Blah" and 'Blah' are the proper ways, I just asked the other developers @ work - they have qualifications in most languages and I'm sure they would know the best way... ('') works, but it looks naff.

    Anyhoo, just do a while statement with an echo in it.... rather than the while in an echo as that is just not possible..
    Can you take a photo of them?

  10. #20
    Join Date
    May 2008
    Posts
    605
    Tokens
    0

    Default

    Quote Originally Posted by Dentafrice View Post
    I just said ''; and "";, you don't need to tell me what are the "proper solutions", I believe I know a tad bit more then you
    And I believe you should calm the attitude, pull that head from your rear and get off the high horse back onto the playground pony.

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
  •