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 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Lol Calon there was really no need to try being fancy
    Back for a while.

  2. #12
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    Lol Calon there was really no need to try being fancy
    No, there is because MySQL doesn't have a function which connects to both the database and the server, hence why I created a custom function for it.

  3. #13
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Calon View Post
    No, there is because MySQL doesn't have a function which connects to both the database and the server, hence why I created a custom function for it.
    Oh dear. I really can't be bothered to argue.

    I just wouldn't have done it that way, tis my opinion

  4. #14
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jackboy View Post
    Oh dear. I really can't be bothered to argue.

    I just wouldn't have done it that way, tis my opinion
    To be honest, we all have our different ways of coding. And it is your opinion, I couldn't be bothered using two functions which could easily be done in one.

  5. #15
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Calon, creating a class for something with a single purpose seems extremely pointless in a variety of ways to me - you could of done it nice and simply with a functions.php and a config.php (with the connection in the config.php). Seems as though you try todo coding methods which are meant to impress people, which in the long run is making more hassle.


    www.fragme.co = a project.

  6. #16

    Default

    Well, whatever. Is anyone else up for the challenge or does anyone know of any good systems?

  7. #17
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Unless he's making a MySQL wrapper, like if he's going to use MySQLi, there isn't much point putting it in a class.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  8. #18

    Default

    Yabberer has done this for me. Thanks to him!

  9. #19
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Hypertext View Post
    Unless he's making a MySQL wrapper, like if he's going to use MySQLi, there isn't much point putting it in a class.
    Quote Originally Posted by Source View Post
    Calon, creating a class for something with a single purpose seems extremely pointless in a variety of ways to me - you could of done it nice and simply with a functions.php and a config.php (with the connection in the config.php). Seems as though you try todo coding methods which are meant to impress people, which in the long run is making more hassle.
    I'm not trying to impress anyone, I just found it easier too do it my way as "code is art" - quoted from w3c. And I try keep my code neat, and I found using one function instead of using two might be a better method. Clearly, proven wrong.

  10. #20
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Ahh, give him a break At least he admits he's wrong.


Page 2 of 3 FirstFirst 123 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
  •