update : 2015.11.03
php.shukuma.com검색:
|
PDOStatement::bindValue(PHP 5 >= 5.1.0, PECL pdo >= 1.0.0) PDOStatement::bindValue — Binds a value to a parameter 설명
public bool PDOStatement::bindValue
( mixed
$parameter
, mixed $value
[, int $data_type = PDO::PARAM_STR
] )Binds a value to a corresponding named or question mark placeholder in the SQL statement that was used to prepare the statement. 인수
반환값
성공 시 예제Example #1 Execute a prepared statement with named placeholders
<?php Example #2 Execute a prepared statement with question mark placeholders
<?php 참고
|