On Mon, Feb 25, 2002 at 11:48:10AM -0000, Ho, Tony wrote: > Hi Tim, > I manage to obtain the trace log and located the section where the error > begins as follows:
Hardly needs a trace...
> > > while($sth->fetchrow_array) {
> > > some code....
> > > }
What happens when fetchrow_array is called in a scalar context?
... and the value returned is 0 or ''?
Use $sth->fetch or $sth->fetchrow_arrayref instead.
Tim.
