12
JoshBent
73d

I have spent 2 hours fighting with another dev once about mysqli vs pdo and how mysqli is probably worse than pdo, turns out the only difference is that pdo supports more databases, where as mysqli only supports mysql, else their spec is basically the same. 😰

Comments
  • 0
    @Artemix TIL, never faced a method that was only specific to mysqli yet thankfully
  • 1
    @rEaL-jAsE when in doubt, always post
    @Bitwise I used mysqli and secure mysql functions back when it was time to switch to bind params standards, but pretty quickly switched to pdo
  • 1
    @rEaL-jAsE I always thought PDO was the standard for accessing databases in PHP, though I had no idea that mysqli was so similar to PDO lol, so you probably shouldn’t believe me either 🤷‍♂️
Your Job Suck?
Get a Better Job
Add Comment