Help? Store Image To Table, store image(binary) to table (blob) |
||
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.
Zymic Webmaster Forums Zymic.com Support Zymic Free Web Templates |
||
![]() |
Help? Store Image To Table, store image(binary) to table (blob) |
||
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 |
|
|
![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 22nd May 2013 - 08:46 AM |