sql_listdbs() function lists the various databases that are available for a particular connection. It returns a selection resource or directly a PHP array of the various databases (as is the case for SQLite).
It accepts 2 parameters:
SPIP uses this function during the installation routine to permit the selection, when one can be made, of which database to use from those authorised by the database manager.
- $result = sql_listdbs($server_db);