Board logo

sql error trying to upload pictures
bigrich - 15/11/07 at 10:22 AM

keep getting this message when i try to post a picture using the browse button.
any ideas guys or remedies in non techy speak if poss.

This is the error mesage i get.

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 's airbox (Medium).jpg', 'image/pjpeg', '82431', 'ÿØÿà' at line 1.

It was ok but wont work now

Cheers
Rich


bigrich - 15/11/07 at 10:31 AM

bl--dy computers AAAarrrrhhhh
seems to have sorted itself out

Cheers anyway

Rich


Pdlewis - 15/11/07 at 11:34 AM

I would expect you had a reserved char such as one of these ' which will break any sql being build up and executed as a string