Jump to content

PDO vs mysqli: Difference between revisions

From tango.info wiki
No edit summary
No edit summary
Line 16: Line 16:
  http://php.net/manual/en/mysqli.multi-query.php ...
  http://php.net/manual/en/mysqli.multi-query.php ...


* https://www.google.com/search?q=phpmyadmin+pdo
query works in pma but not in PDO
==Performance==
==Performance==
* http://wooptoo.com/blog/pdo-vs-mysqli-performance-comparison/
* http://wooptoo.com/blog/pdo-vs-mysqli-performance-comparison/

Revision as of 2012-07-30T18:12:42

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 ...
query works in pma but not in PDO

Performance