Documentation Home
Connectors and APIs Manual
Download this Manual

Connectors and APIs Manual  /  ...  /  mysqli::refresh, mysqli_refresh

7.3.8.42 mysqli::refresh, mysqli_refresh

Copyright 1997-2021 the PHP Documentation Group.

  • mysqli::refresh

    mysqli_refresh

    Refreshes

Description

Object oriented style

public bool mysqli::refresh(int flags);

Procedural style

bool mysqli_refresh(mysqli mysql,
                    int flags);

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

Parameters

link

Procedural style only: A link identifier returned by mysqli_connect or mysqli_init

flags

The options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation.

See also the official MySQL Refresh documentation.

Return Values

true if the refresh was a success, otherwise false

See Also

mysqli_poll