update : 2015.11.03
php.shukuma.com검색:
|
PDOStatement::execute(PHP 5 >= 5.1.0, PECL pdo >= 0.1.0) PDOStatement::execute — Executes a prepared statement 설명
public bool PDOStatement::execute
([ array
$input_parameters
] )Execute the prepared statement. If the prepared statement included parameter markers, you must either:
인수
반환값
성공 시 변경점
예제Example #1 Execute a prepared statement with bound variables
<?php Example #2 Execute a prepared statement with an array of insert values (named parameters)
<?php Example #3 Execute a prepared statement with an array of insert values (placeholders)
<?php Example #4 Execute a prepared statement with question mark placeholders
<?php Example #5 Execute a prepared statement using array for IN clause
<?php 주의
참고
|