Re:Why so much hate for PHP?
by drjake on Saturday January 25, 2014 @06:46PM
(#7123064)
Thanks so much for your time! I was wondering whether you would suggest using PDO or mysqli for connecting to mysql via PHP?
[ Parent
| on HN ]
From my personal experience I would suggest working with PDO. It is easy to implement, supports multiple drivers if needed and has named parameters in your prepared statements. The difference in terms of performance should be insignificant - although I think in some cases mysqli tends to execute faster.