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 4 of 4
  1. #1
    Join Date
    Dec 2005
    Posts
    1,733
    Tokens
    201
    Habbo
    Bomb-Head

    Latest Awards:

    Default Can anybody translate this to MySQL ?

    Hi, i am looking at the tut on techtuts.com about the automatic DJ timetable, and in the first bit it says he cant be bothord to write out the mysql so he will just say the rows, but im no good at mysql so would anybody be able to translate this into a mysql query:

    create a new table called timetable

    rows:

    id---------int(10)-----auto_increment
    username---varchar(225)
    time
    date
    ip
    comments---varchar(225)
    name-------varchar(255)


    Any helpwould be appreciated so much and +rep will be given.
    Last edited by Bomb-Head; 17-04-2006 at 08:21 PM.

  2. #2
    Join Date
    Feb 2006
    Location
    Newcastle
    Posts
    397
    Tokens
    0

    Default

    Lol here you go:

    CREATE TABLE `timetable` (
    `id` INT(11) NOT NULL AUTO_INCREMENT ,
    `username` text NOT NULL ,
    `time` text NOT NULL ,
    `date` text NOT NULL ,
    `ip` text NOT NULL ,
    `comments` text NOT NULL ,
    `name` text NOT NULL ,
    PRIMARY KEY ( `id` )
    ) TYPE=MyISAM;


    Think thats correct

  3. #3
    Join Date
    Dec 2005
    Posts
    1,733
    Tokens
    201
    Habbo
    Bomb-Head

    Latest Awards:

    Default

    Quote Originally Posted by Grinning
    Lol here you go:

    CREATE TABLE `timetable` (
    `id` INT(11) NOT NULL AUTO_INCREMENT ,
    `username` text NOT NULL ,
    `time` text NOT NULL ,
    `date` text NOT NULL ,
    `ip` text NOT NULL ,
    `comments` text NOT NULL ,
    `name` text NOT NULL ,
    PRIMARY KEY ( `id` )
    ) TYPE=MyISAM;


    Think thats correct
    Thank you so much. +rep

  4. #4
    Join Date
    Feb 2006
    Location
    Newcastle
    Posts
    397
    Tokens
    0

    Default

    no problem

Posting Permissions

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