diff options
| author | Colin Viebrock <cmv@php.net> | 2000-04-06 21:07:44 +0000 |
|---|---|---|
| committer | Colin Viebrock <cmv@php.net> | 2000-04-06 21:07:44 +0000 |
| commit | a7c8bfb9fb2d20341181c3ab351fc436a4cc0e2a (patch) | |
| tree | 7178e45bc4ef17f47f744fd6c1517362734ded68 /ext/odbc/php_odbc.c | |
| parent | 56fc855afdde5270d9b6558734bd476669224e1d (diff) | |
| download | php-git-a7c8bfb9fb2d20341181c3ab351fc436a4cc0e2a.tar.gz | |
phpinfo() prettying
Diffstat (limited to 'ext/odbc/php_odbc.c')
| -rw-r--r-- | ext/odbc/php_odbc.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index c7abe1b036..5b884049f7 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -435,10 +435,8 @@ PHP_MINFO_FUNCTION(odbc) char buf[32]; ODBCLS_FETCH(); - DISPLAY_INI_ENTRIES(); - - php_printf("<table border=5 width=\"600\">"); - php_info_print_table_header(2, "Key", "Value"); + php_info_print_table_start(); + php_info_print_table_header(2, "ODBC Support", "enabled"); sprintf(buf, "%ld", ODBCG(num_persistent)); php_info_print_table_row(2, "Active Persistent Links", buf); sprintf(buf, "%ld", ODBCG(num_links)); @@ -449,7 +447,10 @@ PHP_MINFO_FUNCTION(odbc) php_info_print_table_row(2, "ODBC_LFLAGS", PHP_ODBC_LFLAGS); php_info_print_table_row(2, "ODBC_LIBS", PHP_ODBC_LIBS); #endif - php_printf("</table>\n"); + php_info_print_table_end(); + + DISPLAY_INI_ENTRIES(); + } #if defined ( HAVE_IBMDB2 ) || defined ( HAVE_UNIXODBC ) |
