PHP mysqli_refresh() Function

The mysqli_refresh() function refreshes tables or caches, or resets the replication server information.

Object oriented style

public bool mysqli::refresh ( int $options )

Procedural style

bool mysqli_refresh ( resource $link , int $options )

Flushes tables or caches, or resets the replication server information.

ParameterDescription
linkProcedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
optionsThe options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation.

TRUE if the refresh was a success, otherwise FALSE