|
mysqli_stmt::preparemysqli_stmt_preparePrepare an SQL statement for execution BeschreibungObjektorientierter Stil
mixed mysqli_stmt::prepare
( string
$query
)Prozeduraler Stil
bool mysqli_stmt_prepare
( mysqli_stmt
$stmt
, string $query
)Prepares the SQL query pointed to by the null-terminated string query. The parameter markers must be bound to application variables using mysqli_stmt_bind_param and/or mysqli_stmt_bind_result before executing the statement or fetching rows.
Parameter-Liste
Rückgabewerte
Gibt bei Erfolg BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe: Amersfoort is in district Utrecht Siehe auch
|