"PDO"의 두 판 사이의 차이

19번째 줄: 19번째 줄:
* [[PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver']]
* [[PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver']]
* [[Perl DBI]]
* [[Perl DBI]]
==주석==
<references/>


==참고==
==참고==

2018년 4월 23일 (월) 22:05 판

1 개요

PHP Data Objects; PDO
PHP 데이터 객체, PHP 데이터 오브젝트
  • PHP용 경량 데이터베이스 인터페이스
  • PHP 5.1부터 사용가능[1]
  • 지원하는 DB: CUBRID, MS SQL 서버, MySQL, Oracle, PostgreSQL, SQLite 등
  • 프리페어드 스테이트먼트(prepared statement) 지원
$dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass);

2 같이 보기

3 참고

  1. PHP 5.0에서는 PECL 확장기능으로 가능
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}