Jump to content

PDO vs mysqli: Difference between revisions

From tango.info wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
http://zend-framework-community.634137.n4.nabble.com/PDO-or-Mysqli-td1556941.html
Ulf Wendel - Feb 24, 2010; 8:57pm Re: PDO or Mysqli?
Am I saying PDO is broken, well, yes, I don't like the emulation.
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/


Line 16: Line 24:
  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/

Latest revision as of 2012-08-02T17:22:58

http://zend-framework-community.634137.n4.nabble.com/PDO-or-Mysqli-td1556941.html

Ulf Wendel - Feb 24, 2010; 8:57pm Re: PDO or Mysqli?
Am I saying PDO is broken, well, yes, I don't like the emulation.


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