View Single Post
  #8 (permalink)  
Old 06-22-2008, 07:46 AM
quickfox902's Avatar   
quickfox902 quickfox902 is offline
Newbie
 
Join Date: Jun 2008
Posts: 2
Credits: 0
Rep Power: 0
quickfox902 is on a distinguished road
Default Re: Tutorial: Storing Images in MySQL with PHP

need help with creating sql tables in sql 5.0

Error

SQL query:

mysql > CREATE TABLE tbl_images(
> id tinyint( 3 ) unsigned NOT NULL AUTO_INCREMENT ,
> image blob NOT NULL ,
> PRIMARY KEY ( id ) >
)

MySQL said: Documentation
#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 'mysql> CREATE TABLE tbl_images (
> id tinyint(3) unsigned NOT NULL auto_in' at line 1

can anyone help me?

Last edited by quickfox902; 06-22-2008 at 08:00 AM.
Reply With Quote