Name

bind_param_array( )

Synopsis

$statement_handle->bind_param_array(index, values[,
                                    \%attributes|type])

This associates or binds an array of values in an SQL statement within a prepare( ) using placeholders. The first argument indicates which placeholder to replace with the array of given values, the second argument. The values are updated when the related row is retrieved using a fetch method. Attributes may be added or the datatype given as a third argument.

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.