
Druckansicht von http://www.php-homepage.de/manual/function.mysqli-stmt-bind-param.php
mysqli_stmt_bind_paramstmt->bind_param()(No version information available, might be only in CVS) stmt->bind_param() — Binds variables to a prepared statement as parameters BeschreibungProcedural style:
bool mysqli_stmt_bind_param
( mysqli_stmt $stmt
, string $types
, mixed &$var1
[, mixed &$...
] )
Object oriented style (method): mysqli_stmt
bool bind_param
( string $types
, mixed &$var1
[, mixed &$...
] )
Bind variables for the parameter markers in the SQL statement that was passed to mysqli_prepare().
Parameter Liste
RückgabewerteGibt bei Erfolg TRUE zurück, im Fehlerfall FALSE. BeispieleExample#1 Object oriented style
<?phpExample#2 Procedural style
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
|