mysqli_stmt::__construct
Constructs a new mysqli_stmt object
&reftitle.description;
public mysqli_stmt::__construct
mysqlimysql
stringnullquery&null;
This method constructs a new mysqli_stmt object.
&reftitle.parameters;
link
A valid mysqli object.
query
The query, as a string. If this parameter is &null;, then the
constructor behaves identically to
mysqli_stmt_init, otherwise it behaves as
per mysqli_prepare.
&reftitle.changelog;
&Version;
&Description;
8.0.0
query is now nullable.
&reftitle.seealso;
mysqli_prepare
mysqli_stmt_init