Re: [phplib-dev] affected_rows() with db_oracle.inc From: Jesse Swensen (swensenj <email protected>)
Date: 07/15/00

on 7/14/00 3:17 AM, Kirill Maximov at maxkir <email protected> wrote:

> Carl Youngblood wrote:
>>
>> No, $db->affected_rows() doesn't even exist in the db_oracle.inc, especially
>> because there isn't a function for it to use in PHP.
>
> I have the following in db_oracle.inc:
>
> function affected_rows()
> {
> return ora_numrows($this->Query_ID);
> }
>
> ora_numrows - existing, but not documented function.
>
> KIR
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
> For additional commands, e-mail: phplib-dev-help <email protected>
>
>
But this will only return a value for inserts, updates and deletes. It does
not return a value for selects.

-- 
Jesse Swensen
swensenj <email protected>

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected> For additional commands, e-mail: phplib-dev-help <email protected>