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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:
> >
> > No.  Where did you read that?
> >
> > --Wez.
> >
> > On 12/22/05, Marian Kostadinov <[EMAIL PROTECTED]> wrote:
> > > I have read somewhere something about PDO::exec that it was going to be
> > > removed from PDO. Is it true or not?
> > >
> > >
> >
>
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to