On Wed, Jul 30, 2003 at 10:40:44AM -0700, Adam Peterson wrote:
> sorry should have clarified...
> 
> the code works when there is only one row returned in the outermost query.
> 

I think JT is right, you've overwritten your original statement handle in
$sth.  Either use different variable names or a lexically scoped $sth
inside the loop.

Ronald

Reply via email to