Jump to content

PDO vs mysqli

From tango.info wiki
Revision as of 2012-07-30T15:52:44 by Tobiasco (talk | contribs) (Created page with " http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/ Onno Marsman February 29, 2012 at 4:11 am The reason PDO is not an option for me is that there is no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/

Onno Marsman February 29, 2012 at 4:11 am
The reason PDO is not an option for me is that there is no working num_rows
function.
SELECT FOUND_ROWS() is no real alternative because it should return
something different than num_rows when using CALC_FOUND_ROWS for efficient
paging.
So it’s mysqli for me.
Piry March 24, 2012 at 4:49 pm
[write your own wrapper]]
Enrique February 21, 2012 at 7:06 pm
... MySQLi supports multiple queries ...
http://php.net/manual/en/mysqli.multi-query.php ...

Performance