Location: PHPKode > scripts > WH Social > wh_social/admin/handler/serverinfo.php
<?php

    function mysqlVersion() {
        $sql = 'SELECT VERSION() AS versionsinfo';
        $result = mysql_query($sql) OR die(mysql_error());

        $version = mysql_result($result, 0, "versionsinfo");
        $match = explode('.', $version);

        $vers = $version;

        return $vers;
        }

?>
Return current item: WH Social