Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21325 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66893 invoked by uid 1010); 22 Dec 2005 17:33:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66877 invoked from network); 22 Dec 2005 17:33:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2005 17:33:21 -0000 X-Host-Fingerprint: 64.233.184.205 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.205:7233] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 4E/3F-45033-163EAA34 for ; Thu, 22 Dec 2005 12:33:21 -0500 Received: by wproxy.gmail.com with SMTP id 36so405813wra for ; Thu, 22 Dec 2005 09:33:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RvcrgztR4FqYLgKCGiFsK/44EH2l/2mvZJogxuwFzsYgqupO2I2yU1AU4LsOlSjSf4+3UZiKE9tidFIX/e1MNhPkk57NE2DipBMRUWcL6EmMbVT5Efmjq2JZ2HJuTuJW3go9Sofrax+fJVGVJgp+WCW/G/hv+7hZJ5HLWtq/reQ= Received: by 10.64.253.2 with SMTP id a2mr317988qbi; Thu, 22 Dec 2005 09:33:19 -0800 (PST) Received: by 10.64.251.14 with HTTP; Thu, 22 Dec 2005 09:33:19 -0800 (PST) Message-ID: Date: Thu, 22 Dec 2005 12:33:19 -0500 To: Marian Kostadinov Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4e89b4260512220720m5eed119aj5b4cbb6a7c64213e@mail.gmail.com> Subject: Re: [PHP-DEV] Question about PDO::exec From: denials@gmail.com (Dan Scott) http://php.net/manual/en/function.pdostatement-rowcount.php is what you want, in that case. No reason to use PDO::exec() just to get the number of affected rows. Dan On 12/22/05, Marian Kostadinov wrote: > Sorry, > I don't remember:( > The text was something about that when PDO went stable, exec wolud be > removed. Luckily, it seems that this is not the case. > I was just afraid how would I be able to find the number of affected rows= . > Thanks for your response:) > > 2005/12/22, Wez Furlong : > > > > No. Where did you read that? > > > > --Wez. > > > > On 12/22/05, Marian Kostadinov wrote: > > > I have read somewhere something about PDO::exec that it was going to = be > > > removed from PDO. Is it true or not? > > > > > > > > > >