Re: DB->quote

From: Date: Thu, 23 Aug 2001 13:31:09 +0000
Subject: Re: DB->quote
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1673@lists.php.net to get a copy of this message
Stig Sæther Bakken wrote: > > [Edin Kadribasic <ek@proventum.net>] > > I suggest that either: > > > > 1. method quoteString() disappears from DB/common.php since its inline > > documentation is misleading "(preserved for compatibility issues)" > > > > 2. method quoteString() is changed to > > > > return substr($this->quote($string),1,-1); > > > > which would be backward compatible. > > I have to agree, [2] would be the best option. We shouldn't break > compatibility without a good reason. > I had done [2] yesterday. Tomas V.V.Cox

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