Date: 07/17/00
- Next message: kir: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jesse Swensen wrote:
>
> 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
> >
> But this will only return a value for inserts, updates and deletes. It does
> not return a value for selects.
For selects there is a hack in db_oracle.inc. See method num_rows().
Regards,
KIR
P.S. BTW, I'm afraid that this topic should be discussed in phplib
general list, not in development one.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: kir: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

