News for hackers. Stuff that matters.
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?
Re:Why so much hate for PHP? by LDN on Saturday January 25, 2014 @07:15PM (#7123150)
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.
Re:Why so much hate for PHP? by cafard on Tuesday January 28, 2014 @08:55AM (#7137048)
It also has the merit for Perl developers of being more or less like Perl's DBI.