| Junior Member Verified Customer
Join Date: Jan 2006
Posts: 12
| SQl Insert Problem when Quote in String
An error was encountered during execution of the query:
INSERT INTO photos (id,user,userid,cat,storecat,storeid,date,title,description,keywords,bigimage,width,height,
filesize,medwidth,medheight,medsize,approved,watermarked,allowprint,extra1,extra2,
extra3,extra4,extra5,extra6,ipaddress)
VALUES (NULL,'Joe'smom', 6123, 62, '576', '3053', 1134262636, 'Retrieving Santa--Golden Style!',
'Max and his new brother Wrigley---going over their lists with Santa', '', 'puppy_015.jpg', 640, 480, 166716, 0,
0, 0, 1, '','','','',
'','','','','72.9.0.200')
The query returned with an errorcode of:
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 'smom', 6123, 62, '576', '3053', 1134262636, 'Retrieving Santa--Golden Style!',
' at line 4
|