PDOStatement::bindColumn

(no version information, might be only in CVS)

PDOStatement::bindColumn --  Bind a column to a PHP variable

Description

bool PDOStatement::bindColumn ( mixed column, mixed &param [, int type [, int maxlen [, mixed driverdata]]])

Warning

This function is currently not documented; only the argument list is available.

On each row fetch param will contain the value of the corresponding column. column is the 1-based offset of the column, or the column name. For portability, don't call this before PDO::execute().