Re: Call for test: Comment system

From: Date: Wed, 30 Jun 2004 17:17:14 +0000
Subject: Re: Call for test: Comment system
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31389@lists.php.net to get a copy of this message
On Wed, 30 Jun 2004 11:32:34 +0200 (CEST), Tobias Schlitt <tobias@schlitt.info> wrote: > > > Hi Tomas V.V.Cox! You wrote: > > > http://zuhause.bei.tobias-schlitt.de:81/package/DB/ > > > Fatal error: Call to undefined function: smartquote() in > > /cvs/pearweb/include/comments/comment.php on line 192 > > Doh! > > Thought he knew, what he was talking about... The method is named > quoteSmart() not smartQuote(). Should be fixed. Sorry about that, I wrote it without looking at the docs myself. If it's not fixed yet, ic *could* be a double-quoting issue. You use quoteSmart() like this: $query = 'SELECT * FROM table WHERE field = '.$db->quoteSmart($data); not like this: $query = 'SELECT * FROM table WHERE field = "'.$db->quoteSmart($data).'"'; Sorry if I'm telling you somehting you already know. > > Thanks for the hint! > Regards, > Toby > -- > Tobias Schlitt GPG Key: 0xA6529579 > a passion for php > http://www.schlitt.info > Like to say "thank you"? - > http://pear.php.net/wishlist.php/toby > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > !DSPAM:40e2864b27065493616361! > > -- paperCrane --Justin Patrin--

« previous php.pear.dev (#31389) next »