Re: execute and closeCursor for PDO??

From: Date: Tue, 25 Oct 2005 14:37:19 +0000
Subject: Re: execute and closeCursor for PDO??
References: 1 2 3 4 5 6 7  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3154@lists.php.net to get a copy of this message
If you turn up your error reporting to warning or exception mode, the error message should be quite clear. If no error is indicated, that sounds like a bug. --Wez. On 10/25/05, Richard Thomas <lists@cyberlot.net> wrote: > Not sure if this just needs to be stated on the execute page in the docs > or if its possibly a bug > > In mysql, I only have a single row in the table, I can prepare, execute > and fetch that single row over and over but when I try to use another > statement I had already prepared it doesn't do anything, doesn't error. > > Remembered something about this from mysqli so I quickly figured out the > closeCursor, put this after the fetch and now it all works fine. > > Either a doc, or is this a bug? Since there was only a single row of > data should the connection already been "closed" for further use? > > Richard Thomas - CEO > Cyberlot Technologies Group Inc. > 507.398.4124 - Voice > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pecl.dev (#3154) next »