The mysqli_refresh() function refreshes tables or caches, or resets the replication server information.
public bool mysqli::refresh ( int $options )
bool mysqli_refresh ( resource $link , int $options )
Flushes tables or caches, or resets the replication server information.
Parameter | Description |
---|---|
link | Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init() |
options | The options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation. |
TRUE if the refresh was a success, otherwise FALSE