The sql_version()
function simply returns the version number of the database manager.
It accepts 2 optional parameters:
-
$serveur
, -
$option
.
Usage:
$x = sql_version();
echo $x;
// depending on the type of server, we might see:
// for MySQL: 5.1.37-1ubuntu5.1
// for SQLite2: 2.8.17
// for SQLite3: 3.6.16