"PDO"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 2개는 보이지 않습니다)
7번째 줄: 7번째 줄:
*[[프리페어드 스테이트먼트]](prepared statement) 지원
*[[프리페어드 스테이트먼트]](prepared statement) 지원


<source lang='php'>
<syntaxhighlight lang='php'>
$dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass);
$dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass);
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[리눅스 php-pdo 설치]]
* [[리눅스 php-pdo 설치]]
*[[우분투 pdo_mysql 설치]]
* [[우분투 pdo_mysql 설치]]
*[[lib_pdo.php]]
* [[lib_pdo.php]]
*[[프리페어드 스테이트먼트]] (prepared statement)
* [[프리페어드 스테이트먼트]] (prepared statement)
*[[PHP Fatal error: Class 'PDO' not found]]
* [[PHP Fatal error: Class 'PDO' not found]]
*[[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]]
==주석==
<references/>


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

2020년 11월 2일 (월) 02:56 기준 최신판

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 }}