Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'happen,': 0.07; 'subject:code': 0.07; 'python': 0.09; 'indication': 0.09; 'cc:addr :python-list': 0.10; 'subject:error': 0.11; 'dec': 0.15; 'definition.': 0.16; 'perfect.': 0.16; 'sadly': 0.16; 'wrote:': 0.17; 'code,': 0.18; 'code.': 0.20; 'received:209.85.214.174': 0.21; 'os,': 0.22; 'sorry,': 0.22; "i'd": 0.22; 'cc:2**0': 0.23; 'insert': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'ball': 0.29; 'usually': 0.30; 'version,': 0.30; 'function': 0.30; 'expect': 0.31; '11,': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'except': 0.36; 'but': 0.36; 'enough': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'received:209.85.214': 0.39; 'release': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'your': 0.60; "you've": 0.61; 'kind': 0.61; 'assistance': 0.63; 'repairs': 0.84; 'to:addr:yahoo.co.uk': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ziEP5wRJ3sQT3zsjBJjji4HkJCUPYDZAqdUT/k4+77U=; b=uNTs1DGBNamUPrmJ9m/uDGDz5KVEk+imo4iwfcJDGFqvF375SOTfVM21lVAw+lPp5A zRgHwpHPvABjHvCEBUwXtDbP5pRgrsPAge4aZLanO+2gGcPkw1PDB5Zy/dcE00rWK062 2m13Ehd3/xazAzRpNRVISiPPx68dF2hst8mQzy0+K55zHZqAhEjDgO9arpYgOuYp6y+7 5wixy3gGblDfrnLcPEERQs7a15BDzTMoA9UdELOSdpF7WQ249OOIDF9r32ZXmvEyVj1w cmYFhBQGCX2XfEgixSaPHdS/2pEhLLDvGf5qNQNtm7LgDIf7haCQm97ER1ydZQ4TWqy/ CJ6A== MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 11 Dec 2012 01:31:24 +0100 Subject: Re: MySQLdb insert HTML code error From: Anatoli Hristov To: Mark Lawrence Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355185887 news.xs4all.nl 6846 [2001:888:2000:d::a6]:59051 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34588 On Tue, Dec 11, 2012 at 1:29 AM, 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 And sorry, Python 2.4