PDO, phppdo_PHP tutorial

Source: Internet
Author: User
PDO, phppdo. PDO, phppdo I. INTRODUCTION PDO (PHPDataObjects) defines a lightweight unified interface in PHP that can be used to access different types of databases. Note that PDO and phppdo cannot be executed by the PDO extension itself.

I. INTRODUCTION

PDO (PHP Data Objects) defines a lightweight unified interface in PHP that can be used to access different types of databases. Note that you cannot perform any database functions by using the PDO extension. you must use the PDO driver of a specific database to access the database server.

 

II. PDO features

PDO is an extension written in C language. PDO uses the internal features of PHP5. PDO uses the buffer PDO to read data from the result set. It provides general DB features as the basis for PDO to access specific databases. the function PDO can be used for transaction operations. PDO can process LOBS (large objects) in databases) PDO can pre-compile SQL statements with restrictive parameters and execute SQL statements. PDO can execute cursors. PDO can access SQLSTATE error code and has a flexible error handling mechanism.

 

III. API

Http://ca.php.net/manual/zh/book.pdo.php

Http://www.bkjia.com/PHPjc/1139058.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1139058.htmlTechArticlePDO,phppdo I. INTRODUCTION PDO (PHP Data Objects) defines a lightweight unified interface in PHP that can be used to access different types of databases. Note that the PDO extension alone cannot be used for execution...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.