diff --git a/checkers/php-dbase.php b/checkers/php-dbase.php index d6e4709..a58f8c9 100644 --- a/checkers/php-dbase.php +++ b/checkers/php-dbase.php @@ -18,19 +18,14 @@ $def = array( array("email", "C", 128), array("ismember", "L") ); -echo "Я Тут"; if (!file_exists($dbPath)){ - echo "Я тута"; if (!dbase_create($dbPath, $def)) { echo "

Error! Unable to create database

"; } } -echo "Я пу пу пу"; $db = dbase_open($dbPath, 0) or die("Error! Unable to open database file '$dbPath'."); -if ($db) { - $column_info = dbase_get_header_info($dbh); - print_r($column_info); - dbase_close($db); -} \ No newline at end of file +$column_info = dbase_get_header_info($dbh); +echo ($column_info); +dbase_close($db);