At 16:38 -0800 1/6/03, Beogradjanin wrote:
Hello mysql,

I want to learn MySQL and PHP I've installed Apache , PHP and MySql
Whan I try to make tables

create table guestbook
(
name varchar( 40 ) null,
location varchar( 40 ) null.
email varchar( 40 ) null,
url varchar( 40 ) null,
comments text null,
)
;

I get this

mysql>> create table guestbook
     -> (
     -> name varchar( 40 ) null,
     -> location varchar( 40 ) null,
     -> email varchar( 40 ) null,
     -> url varchar( 40 ) null,
     -> comments text null,
No comma here, it's the final column in the definition.

 >     -> )
     -> ;
 ERROR 1064: You have an error in your SQL syntax near ')' at line 8
mysql>>

Whats wrong here????

--
Best regards,
 Beogradjanin                          mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
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