|
mysqli::preparemysqli_preparePrepare an SQL statement for execution BeschreibungObjektorientierter Stil
mysqli_stmt mysqli::prepare
( string
$query
)Prozeduraler Stil
mysqli_stmt mysqli_prepare
( mysqli
$link
, string $query
)Prepares the SQL query, and returns a statement handle to be used for further operations on the statement. The query must consist of a single SQL statement. 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
mysqli_prepare returns a statement object or BeispieleBeispiel #1 mysqli::prepare example Objektorientierter Stil
<?phpProzeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe: Amersfoort is in district Utrecht Siehe auch
|