Oracle 5.0 Reference Manual page 2460

Table of Contents

Advertisement

mode
20.7.3.10.4. mysqli_stmt::bind_param,
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysqli_stmt::bind_param
mysqli_stmt_bind_param
Binds variables to a prepared statement as parameters
Description
Object oriented style
bool mysqli_stmt::bind_param(
string types,
mixed var1,
mixed ...);
Procedural style
bool mysqli_stmt_bind_param(
mysqli_stmt stmt,
string types,
mixed var1,
mixed ...);
Bind variables for the parameter markers in the SQL statement that was passed to mysqli_prepare.
Parameters
stmt
types
MySQL Improved Extension (Mysqli)
The value to assign to the attribute.
mysqli_stmt_bind_param
Note
If data size of a variable exceeds max. allowed packet size
(max_allowed_packet), you have to specify
mysqli_stmt_send_long_data
Note
Care must be taken when using
with call_user_func_array. Note that
requires parameters to be passed by reference, whereas
call_user_func_array
can represent references or values.
Procedural style only: A statement identifier returned by
mysqli_stmt_init.
A string that contains one or more characters which specify the
types for the corresponding bind variables:
Table 20.48. Type specification chars
Character
i
d
s
in
b
to send the data in packets.
mysqli_stmt_bind_param
mysqli_stmt_bind_param
can accept as a parameter a list of variables that
2440
and use
types
in conjunction
Description
corresponding variable has type
integer
corresponding variable has type
double
corresponding variable has type
string

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents