construct
mysqli_stmt::__construct
Constructs a new
mysqli_stmt
object
ENTITY
public
mysqli_stmt::__construct
mysqli
mysql
string
null
query
ENTITY
This method constructs a new mysqli_stmt object.
ENTITY
link
A valid mysqli object.
query
The query, as a string. If this parameter is ENTITY, then the constructor behaves identically to mysqli_stmt_init, otherwise it behaves as per mysqli_prepare.
ENTITY ENTITY
ENTITY
| ENTITY | ENTITY |
|---|---|
| 8.0.0 | query is now nullable. |
ENTITY
mysqli_prepare, mysqli_stmt_init
这篇文档对你有帮助吗?
谢谢你的反馈!