By carson | Published: March 30, 2010
After my post on using PHP MySQLi and multiple prepared statements at the same time someone commented that using cursors could do the same thing. With that comment I dug some more and found that modifying the cursor type that is used under the covers will indeed let you execute multiple prepared statements concurrently on [...]
Posted in programming | Also tagged cursor, mysql, php
By carson | Published: February 9, 2010
While sprucing up the PHP code I use to provide my own Stack Overflow API for GeeQe I ran into an error caused by trying to use multiple prepared statements with MySQLi. It turned up when I tried to execute one prepared statement while looping over the result set from another prepared statement that were [...]
Posted in programming | Also tagged mysql, php
Using Cursors with PHP MySQLi and Multiple Prepared Statements