Why I should learn PDO ?
I think it enable me access to different types of databases ?
If I use only MySQL , Should I learn it ?
the argument that PDO makes switching between different types of databases “easy” is foolish: it’s not easy, and it can’t be made easy.
PDO’s advantages are features like prepared statements, transactions, etc.. The mysql**i** extension supports these features as well – you should learn one or the other (or both!).
*(If you’re asking if you could stick with the `mysql_*()` functions, the answer is a resounding “No!”)*
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".