You need to separate the fields with a comma.. Do:
name varchar(50),
message varchar(255)

See: http://www.mysql.com/doc/en/CREATE_TABLE.html
Gurhan
 
On Fri, 2003-02-07 at 19:52, Wileynet wrote:
> Can anyone tell me why I keep getting an ERROR 1064 with this command ?
> I just would like to create a table with two fields, name and messages
> for a 
> Simple guestbook but I want to store the data in a mysql database.
> 
> mysql> CREATE TABLE info
>     -> (
>     -> name varchar(50)
>     -> message varchar(255)
>     -> )
>     -> ;
> 
> 
> thanks,
> -wiley
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to