Re: MySQLdb insert HTML code error
> You're using a parametrised query (which is good :-)), but you've included
> quotes around the placeholders. There's no need to do that. They'll be
> quoted automatically when necessary:
> sql = "INSERT INTO product_description (product_id, language_id, name,
> description) VALUES (%s,%s,%s,%s)"
Thanks a lot it woooorks. I was looking in the wrong direction (escape
str. raw etc) Thanks again :-)
|All times are GMT. The time now is 08:51 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.