|
PHP5中文手册
maxdb_optionsmaxdb->options(PECL maxdb:1.0-7.6.00.38) maxdb->options — Set options 说明Procedural style:
bool maxdb_options
( resource $link
, int $option
, mixed $value
)
Object oriented style (method) maxdb
bool
options
( int $option
, mixed $value
)
maxdb_options() can be used to set extra connect options and affect behavior for a connection. This function may be called multiple times to set several options. maxdb_options() should be called after maxdb_init() and before maxdb_real_connect(). The parameter option is the option that you want to set, the value is the value for the option. For detailed description of the options see » http://dev.mysql.com/doc/maxdb/ The parameter option can be one of the following values:
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例See maxdb_real_connect(). |