why PDO ??

  • # November 1, 2012 at 12:57 am

    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 ?

    # November 1, 2012 at 1:57 am

    This reply has been reported for inappropriate content.

    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 mysqli 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!”)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.