Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic.com SupportZymic Free Web Templates right
  Reply to this topic Start new topic
left right
jaljalil
post May 22 2012, 11:39 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 22-May 12
Member No.: 242,932



my code in bref:

$image=file_get_contents($file);
mysql_query("INSERT INTO product VALUES ('','$image'"));

ma table 'product':

id: int(8) auto_increment primary
image: blob

Table Information

Storage engine: MyISAM
Charset: utf8


the 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 '”¤…´•ÄÔäô¥µÅÕåõVfv†–¦¶ÆÖæö7GWgw‡—§·Ç×ç÷' at line 1
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 22nd May 2013 - 08:46 AM