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 23
  1. #11
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    17,702
    Tokens
    60,948
    Habbo
    Habbic

    Latest Awards:

    Default

    You run 4 queries

    Code:
    CREATE TABLE CUSTOMER (
    ID..........
    ............
    ..........
    PHONE VARCHAR(20),
    );

    run that first
    Code:
    INSERT INTO CUSTOMER VALUES ('EXAMPLE EXAMPLE', 'EXAMPLE', 'NC', 111111111111);
    then run a few of those to input info into the db

    then you can run

    Code:
    SELECT * FROM CUSTOMER;
    to view everything or

    Code:
    SELECT `FULL NAME` FROM CUSTOMER WHERE `FULL NAME` = 'Some Name';
    to view a specific full name (use `field` or [field])

  2. #12
    Join Date
    Apr 2014
    Location
    Constantinople , Turkey
    Posts
    138
    Tokens
    197

    Latest Awards:

    Default

    Quote Originally Posted by scottish View Post
    You run 4 queries

    Code:
    CREATE TABLE CUSTOMER (
    ID..........
    ............
    ..........
    PHONE VARCHAR(20),
    );

    run that first
    Code:
    INSERT INTO CUSTOMER VALUES ('EXAMPLE EXAMPLE', 'EXAMPLE', 'NC', 111111111111);
    then run a few of those to input info into the db

    then you can run

    Code:
    SELECT * FROM CUSTOMER;
    to view everything or

    Code:
    SELECT `FULL NAME` FROM CUSTOMER WHERE `FULL NAME` = 'Some Name';
    to view a specific full name (use `field` or [field])
    Umm... i dont get it..Would i just put all those codes together?

  3. #13
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    17,702
    Tokens
    60,948
    Habbo
    Habbic

    Latest Awards:

    Default

    Where are you running them?

  4. #14
    Join Date
    Apr 2014
    Location
    Constantinople , Turkey
    Posts
    138
    Tokens
    197

    Latest Awards:

    Default

    Quote Originally Posted by scottish View Post
    Where are you running them?
    what ?

  5. #15
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    17,702
    Tokens
    60,948
    Habbo
    Habbic

    Latest Awards:

    Default

    How are you running the SQL?

    Where are you entering it? Are you doing it through an SQL browser? Are you doing it in PHP? what..

  6. #16
    Join Date
    Apr 2014
    Location
    Constantinople , Turkey
    Posts
    138
    Tokens
    197

    Latest Awards:

    Default

    Quote Originally Posted by scottish View Post
    How are you running the SQL?

    Where are you entering it? Are you doing it through an SQL browser? Are you doing it in PHP? what..
    notepad lol

  7. #17
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by KingEvan View Post
    notepad lol
    And what are you doing after you type it out in notepad?

  8. #18
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    17,702
    Tokens
    60,948
    Habbo
    Habbic

    Latest Awards:

    Default

    You're executing them somewhere, where..

    If you know they're failing there's obviously something that's saying the syntax is incorrect or some other error, what's giving this error, how do you know it won't work?

  9. #19
    Join Date
    Jul 2006
    Location
    UK
    Posts
    11,985
    Tokens
    624

    Latest Awards:

    Default

    notepad is my fav coding program
    i think it was used for coding the habbox.com website

  10. #20
    Join Date
    Apr 2014
    Location
    Constantinople , Turkey
    Posts
    138
    Tokens
    197

    Latest Awards:

    Default

    Quote Originally Posted by scottish View Post
    You're executing them somewhere, where..

    If you know they're failing there's obviously something that's saying the syntax is incorrect or some other error, what's giving this error, how do you know it won't work?
    Well hey, i know nothing about sql. which would be a good writing program?

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
  •