LXXXVIII. MySQL Functions (PDO_MYSQL)簡介PDO_MYSQL is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to MySQL 3.x and 4.x databases. PDO_MYSQL will take advantage of native prepared statement support present in MySQL 4.1 and higher. If you're using an older version of the mysql client libraries, PDO will emulate them for you.
預定義常量以下常量由本驅動程式所定義,並且僅在該增加庫被編譯入 PHP 或在運行時動態加載時可用。此外,這些驅動程式特定的常量應僅在使用此驅動程式時被使用。在 Postgres 驅動下使用 MySQL 特定的屬性可能會導致不可預期的行為。在代碼可以運行於多個驅動程式下時,可以用 PDO::getAttribute() 來取得 PDO_ATTR_DRIVER_NAME 屬性以檢查驅動程式。
| |||||