Re: Question about PDO::exec

From: Date: Thu, 22 Dec 2005 17:33:19 +0000
Subject: Re: Question about PDO::exec
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-21325@lists.php.net to get a copy of this message
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 <manchokapitancho@gmail.com> 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 <kingwez@gmail.com>: > > > > No. Where did you read that? > > > > --Wez. > > > > On 12/22/05, Marian Kostadinov <manchokapitancho@gmail.com> wrote: > > > I have read somewhere something about PDO::exec that it was going to be > > > removed from PDO. Is it true or not? > > > > > > > > > >

« previous php.internals (#21325) next »