PHP Manual
mysqli_get_server_info
(PHP 5)
mysqli_get_server_info(no version information, might be only in CVS)
mysqli->server_info -- Returns the version of the MySQL serverDescription
Procedural style:
string mysqli_get_server_info ( mysqli link )Object oriented style (property):
class mysqli {string server_info
}
Returns a string representing the version of the MySQL server that the MySQLi extension is connected to.
Parameters
linkProcedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Examples
Example 2. Procedural style
|
The above example will output:
Server version: 4.1.2-alpha-debug |
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




