diff --git a/reference/mysqli/mysqli_stmt.xml b/reference/mysqli/mysqli_stmt.xml index c4c06dbfd3..9d893dfc3b 100644 --- a/reference/mysqli/mysqli_stmt.xml +++ b/reference/mysqli/mysqli_stmt.xml @@ -34,6 +34,7 @@ &Methods; + diff --git a/reference/mysqli/mysqli_stmt/construct.xml b/reference/mysqli/mysqli_stmt/construct.xml new file mode 100644 index 0000000000..e5099c0df5 --- /dev/null +++ b/reference/mysqli/mysqli_stmt/construct.xml @@ -0,0 +1,83 @@ + + + + + + mysqli_stmt::__construct + Constructs a new mysqli_stmt object + + + + &reftitle.description; + + mysqli_stmt::__construct + mysqlilink + stringquery + + + This method constructs a new mysqli_stmt object. + + + + In general, you should use either mysqli_prepare or + mysqli_stmt_init to create a + mysqli_stmt object, rather than directly + instantiating the object with new mysqli_stmt. This + method (and the ability to directly instantiate + mysqli_stmt objects) may be deprecated and removed + in the future. + + + + + + &reftitle.parameters; + + + &mysqli.link.description; + + query + + + The query, as a string. If this parameter is omitted, then the + constructor behaves identically to + mysqli_stmt_init, if provided, then it behaves as + per mysqli_prepare. + + + + + + + + + &reftitle.seealso; + + + mysqli_prepare + mysqli_stmt_init + + + + + + diff --git a/reference/mysqli/versions.xml b/reference/mysqli/versions.xml index 99c310a44d..a0019d76d1 100644 --- a/reference/mysqli/versions.xml +++ b/reference/mysqli/versions.xml @@ -16,6 +16,7 @@ +