PHP. Руководство по PHP. 2005
PDOStatement::bindParam
PDOStatement::bindParam
(no version information, might be only in CVS)PDOStatement::bindParam --
Binds a parameter to the specified variable name
Описание
bool PDOStatement::bindParam (mixed parameter, mixed &variable [, int data_type [, int length [, mixed driver_options]]])Внимание |
-Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск. |
Binds a parameter to a corresponding named or question mark placeholder
in the SQL statement that was use to prepare the statement.
Most parameters are input parameters, that is, parameters that are used
in a read-only fashion to build up the query. Some drivers support the
invocation of stored procedures that return data as output parameters,
and some also as input/output parameters that both send in data and are
updated to receive it.