|
mysqli_stmt::bind_resultmysqli_stmt_bind_resultBinds variables to a prepared statement for result storage DescriptionObject oriented style
bool mysqli_stmt::bind_result
( mixed
&$var1
[, mixed &$...
] )Procedural style
bool mysqli_stmt_bind_result
( mysqli_stmt
$stmt
, mixed &$var1
[, mixed &$...
] )Binds columns in the result set to variables.
When mysqli_stmt_fetch is called to fetch data, the
MySQL client/server protocol places the data for the bound columns into
the specified variables
Parameters
Return Values
Returns ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: AFG Afghanistan ALB Albania DZA Algeria ASM American Samoa AND Andorra See Also
|