update : 2015.11.03
php.shukuma.com검색:
|
mysqli_stmt::executemysqli_stmt_execute(PHP 5) mysqli_stmt::execute -- mysqli_stmt_execute — Executes a prepared Query 설명객체 기반 형식
bool mysqli_stmt::execute
( void
)
절차식 형식 Executes a query that has been previously prepared using the mysqli_prepare() function. When executed any parameter markers which exist will automatically be replaced with the appropriate data. If the statement is UPDATE, DELETE, or INSERT, the total number of affected rows can be determined by using the mysqli_stmt_affected_rows() function. Likewise, if the query yields a result set the mysqli_stmt_fetch() function is used.
반환값
성공 시 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제들의 출력: Stuttgart (DEU,Baden-Wuerttemberg) Bordeaux (FRA,Aquitaine) 참고
|