|
PHP5中文手册
mysqli_optionsmysqli->options()(PHP 5) mysqli->options() — Set options 说明Procedural style:
bool mysqli_options
( mysqli $link
, int $option
, mixed $value
)
Object oriented style (method) mysqli
bool options
( int $option
, mixed $value
)
Used to set extra connect options and affect behavior for a connection. This function may be called multiple times to set several options. mysqli_options() should be called after mysqli_init() and before mysqli_real_connect(). 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例 |