Is there something wrong with this code? I'm running MYSQL 5 I keep getting this error:
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 'desc BLOB, review BLOB, url BLOB )'
Here's my query:
mysql_query("CREATE TABLE videos(
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
title VARCHAR(50),
desc BLOB,
review BLOB,
url BLOB
)
") or die(mysql_error());
It looks alright to me. At first I thought it was the "BLOB" datatype but then I tried "TEXT" and it still messed up so I'm not quite sure.