bindColumn() public method
Binds a column to a PHP variable.
When rows of data are being fetched, the corresponding column value will be set in the variable. Note, the fetch mode must include PDO::FETCH_BOUND.
See also http://www.php.net/manual/en/function.PDOStatement-bindColumn.php.
| public void bindColumn ( $column, &$value, $dataType = null ) | ||
|---|---|---|
| $column | integer|string |
Number of the column (1-indexed) or name of the column in the result set. If using the column name, be aware that the name should match the case of the column, as returned by the driver. |
| $value | mixed |
Name of the PHP variable to which the column will be bound. |
| $dataType | integer |
Data type of the parameter |
Please login to continue.