taekwondokid42
New Member
- Messages
- 268
- Reaction score
- 0
- Points
- 0
I'm using a tutorial to learn Mysql, but the die function keeps spitting out "wrong syntax" errors at me.
Here is an example:
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
'NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
name VARCHAR(30),
age INT)'
at line 2
any help?
Here is an example:
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
'NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
name VARCHAR(30),
age INT)'
at line 2
any help?