Oracle 5.0 Reference Manual page 2416

Table of Contents

Advertisement

link
Return Values
Returns
TRUE
Examples
See mysqli_multi_query.
See Also
mysqli_multi_query
mysqli_more_results
mysqli_store_result
mysqli_use_result
20.7.3.9.35. mysqli::options,
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysqli::options
mysqli_options
Set options
Description
Object oriented style
bool mysqli::options(
int option,
mixed value);
Procedural style
bool mysqli_options(
mysqli link,
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
Parameters
link
option
MySQL Improved Extension (Mysqli)
Procedural style only: A link identifier returned by
mysqli_connect
on success or
on failure.
FALSE
mysqli_options
should be called after
Procedural style only: A link identifier returned by
mysqli_connect
The option that you want to set. It can be one of the following
values:
Table 20.45. Valid options
Name
MYSQLI_OPT_CONNECT_TIMEOUT
or
mysqli_init
and before mysqli_real_connect.
mysqli_init
or
mysqli_init
2396
Description
connection timeout in seconds
(supported on Windows with
TCP/IP since PHP 5.3.1)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents