Pdo itu sejenis cara sebuah program mengakses database dengan aman. Konon bisa mencegah sql injection mengakses sebuah database. Tapi tentu saja dengan pemakaian yang benar.

PDO singkatan dari PHP Data Objects.

PDO is a lean, consistent way to access databases. This means developers can write portable code much easier. PDO is not an abstraction layer like PearDB. PDO is a more like a data access layer which uses a unified API (Application Programming Interface).

Source : here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.