Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/1.php on line 1
Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /home/vhosts/podolsk.xp3.biz/0.php on line 1 PHP. Руководство по PHP. 2005 (создание и продвижение сайта)
создание и продвижение сайта (вбиваю в ТОП-10, как гвозди)Настройка и сопровождение платной рекламы яндекс.директ
(PHP 4>= 4.3.0, PHP 5)dba_handlers -- List all the handlers available
Описание
array dba_handlers ([bool full_info])
dba_handlers() list all the handlers supported by this extension.
Список параметров
full_info
Turns on/off full information display in the result. The default is FALSE.
Возвращаемые значения
Returns an array of database handlers. If full_info is set to TRUE, the array will be associative with the handlers names as keys, and their version information as value. Otherwise, the result will be an indexed array of handlers names.
Замечание: When the internal cdb library is used you will see cdb and cdb_make.
Примеры
Пример 1. dba_handlers() Example
<?php
echo "Available DBA handlers:\n";
foreach (dba_handlers(true) as $handler_name => $handler_version){