Home > PHP > Function > Mysqli > mysqli_enable_reads_from_master()

mysqli_enable_reads_from_master()

mysqli_enable_reads_from_master - Enable reads from master

Syntax

bool mysqli_enable_reads_from_master (mysqli $link)

Arguments

  • link - The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() was called with no arguments. If no connection is found or established, an E_WARNING level error is generated.

Description

Version

PHP 5

Return value