PDO vs mysqli: Difference between revisions
Appearance
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..." |
No edit summary |
||
Line 1: | Line 1: | ||
http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/ | http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/ | ||
Onno Marsman February 29, 2012 at 4:11 am | 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 | 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 | SELECT FOUND_ROWS() is no real alternative because it | ||
should return something different than num_rows | |||
when using CALC_FOUND_ROWS for efficient paging. | |||
... | |||
Piry March 24, 2012 at 4:49 pm | Piry March 24, 2012 at 4:49 pm |
Revision as of 2012-07-30T15:53:20
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. ...
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 ...