(no version information, might be only in CVS)
PDOStatement::bindValue -- Binds a value to a parameterBinds a value to a corresponding named or question mark placeholder in the SQL statement that was use to prepare the statement.
Parameter identifier. For a prepared statement using named placeholders, this will be a parameter name of the form :name. For a prepared statement using question mark placeholders, this will be the 1-indexed position of the parameter.
The value to bind to the parameter.
Explicit data type for the parameter using the PDO::PARAM_* constants.
Ejemplo 2. Execute a prepared statement with question mark placeholders
|