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!


Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default Creating Tables. (MySQL Tables)

    Can someone explain what these mean:

    NOT NULL,
    NULL
    NULL AUTO_INCREMENT
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM;
    VARCHAR( 50 )

    Thanks

    - Matt
    I owe rep to:

    NintendoNews & Luckyrare

  2. #2
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    I'm not sure about MySQL but i'm sure Primary key is the id of the table or something and the type is the type. but :S i don't really have a clue about MySQL.

    Daza

  3. #3
    Join Date
    Apr 2005
    Location
    England
    Posts
    3,832
    Tokens
    939

    Latest Awards:

    Default

    Are you trying to create tables in html format?


    I'm here and there :8

  4. #4
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    No, for databases lol.
    I owe rep to:

    NintendoNews & Luckyrare

  5. #5
    Join Date
    Mar 2006
    Location
    Manchester UK
    Posts
    195
    Tokens
    0

    Default

    Hello.

    Are you trying to create tables or understand what they mean.

    The Actual Table

    In my description the table of a mySQL table would have to be the same as a Microsoft Access Database table; they are used to store data and run queries and other commands.

    Setting up a Table

    There are two ways to do this; but the easiest way is to create it in the structure of PhpMyAdmin in your MySQL section of cPanel. You can choose the various function null etc and then it creates the SQL for you and then you need to connect to your Database via PHP connection using your user details of the actual Database. Also your host must be PHP/MySQL enabled.

    Thanks
    Encryptions

  6. #6
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    Dan i thought this was a kiddies forum and you were more respcted or ure big devolpmnt websites..
    pm me

  7. #7
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    I'm making an assumption that you're following a tutorial; if I'm not mistaken, then forget what has been mentioned in this thread as it's irrelevant.
    What you've got there is SQL (invalid SQL), it's a language used to "control" databases (for instance MySQL).
    To create a table, your SQL should look something along the lines of:
    Code:
    CREATE TABLE Example
    (
    name varchar(50),
    age int(3),
    }

Posting Permissions

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