|
PDOStatement::bindValueBinds a value to a parameter Beschreibung
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. Parameter-Liste
Rückgabewerte
Gibt bei Erfolg BeispieleBeispiel #1 Execute a prepared statement with named placeholders
<?phpBeispiel #2 Execute a prepared statement with question mark placeholders
<?phpSiehe auch
|