MySQLdb insert HTML code error

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Dec 10 19:38:21 EST 2012


On 11/12/2012 00:29, Anatoli Hristov wrote:
>> As much use as a chocolate teapot, all you've given is a function/method
>> definition.  No indication of your OS, Python version, calling code, what
>> you expect to happen, what actually happened, apart from that your request
>> for assistance is perfect.  Usually I'd be able to help but sadly my crystal
>> ball is in for repairs at the moment.  Would you please be kind enough to
>> elucidate.
>
> Thanks for your answer, the OS is CentOS release 5.7. MySQL - 5.0.96
> As I said the function is working right, except when I insert an HTML code.
>
> Thanks
>

Brilliant, I think your problem is in line 97 of the code that you 
*HAVEN'T QUOTED*.  Please go here, read and inwardly digest before you 
say anything else http://www.sscce.org/

-- 
Cheers.

Mark Lawrence.




More information about the Python-list mailing list