PHP » GoLang |
login |
register |
about
|
GoLang PDOStatement::bindValue
request it (436)
GoLang replacement for PHP's PDOStatement::bindValue
[edit | history]
PDOStatement::bindValue(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 1.0.0) PDOStatement::bindValue — Binds a value to a parameter Description
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. Parameters
Return Values
Returns ExamplesExample #1 Execute a prepared statement with named placeholders
<?php Example #2 Execute a prepared statement with question mark placeholders
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|