Help with a 6 line SQL CODE...
Posted: Sun Oct 31, 2004 10:16 am
Hi all!
I'm not a newbie in PHP, altough I'm a newbie here...
I'm 13 years old.
I started learning PHP 6 months ago and now, after reading
1000+ about it and experiencing it I have a bitti problem.
I am familiar with MySQL only that I never experienced writing
on my own SQL code...1
OK enough about me.
Here is my problem:
I'm getting an error:
My server started using phpMyAdmin 2.6.0 does it has something to do
with it?
Thank you all geniuses!
Uri.
I'm not a newbie in PHP, altough I'm a newbie here...
I'm 13 years old.
I started learning PHP 6 months ago and now, after reading
1000+ about it and experiencing it I have a bitti problem.
I am familiar with MySQL only that I never experienced writing
on my own SQL code...1
OK enough about me.
Here is my problem:
Code: Select all
CREATE TABLE events_megamot(
eID INT UNSIGNED NOT NULL AUTO_INCREMENT,
event VARCHAR(200) NOT NULL,
by VARCHAR(25) NOT NULL,
date DATE NOT NULL,
PRIMARY KEY (eID)
);Code: Select all
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'by VARCHAR(25) NOT NULL,
date DATE NOT NULL,
PRIMARY KEY (eIDwith it?
Thank you all geniuses!
Uri.