execute and closeCursor for PDO??
| From: | Richard Thomas | Date: | Tue, 25 Oct 2005 14:18:05 +0000 |
| Subject: | execute and closeCursor for PDO?? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3153@lists.php.net to get a copy of this message | ||
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