PHP mysqli refresh() Function
Definition and Usage
The refresh() / mysqli_refresh() function refreshes/flushes tables or caches, or resets the replication server information.
Syntax
Object oriented style:
$mysqli -> refresh(options)
Procedural style:
mysqli_refresh(connection, options)
Parameter Values
Parameter | Description |
---|---|
connection | Required. Specifies the MySQL connection to use |
options | The options to refresh. Can be one of more of the following (separated by OR):
|
Technical Details
Return Value: | TRUE on success. FALSE on failure |
---|---|
PHP Version: | 5.3+ |
❮ PHP mysqli Reference