[dev] Re: [cvs] commit: horde/lib/Category sql.php

Chuck Hagenbuch chuck at horde.org
Thu Jun 5 18:47:06 PDT 2003


Quoting Jon Parise <jon at horde.org>:

> Is there a clean way to retrieve the version of the MySQL database and
> act according to that?

We could call mysql_server_info() on the $db object's mysql link. Not
squeaky clean, but...

http://us2.php.net/manual/en/function.mysql-get-server-info.php

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
The alligators were there, too, in a bathtub inside the house.



More information about the dev mailing list