From a7c8bfb9fb2d20341181c3ab351fc436a4cc0e2a Mon Sep 17 00:00:00 2001 From: Colin Viebrock Date: Thu, 6 Apr 2000 21:07:44 +0000 Subject: phpinfo() prettying --- ext/mysql/php_mysql.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ext/mysql/php_mysql.c') diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 5406880e09..8f9d5cb677 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -291,10 +291,8 @@ PHP_MINFO_FUNCTION(mysql) char buf[32]; MySLS_FETCH(); - DISPLAY_INI_ENTRIES(); - php_info_print_table_start(); - php_info_print_table_header(2, "Key", "Value"); + php_info_print_table_header(2, "MySQL Support", "enabled"); sprintf(buf, "%ld", MySG(num_persistent)); php_info_print_table_row(2, "Active Persistent Links", buf); sprintf(buf, "%ld", MySG(num_links)); @@ -306,6 +304,9 @@ PHP_MINFO_FUNCTION(mysql) php_info_print_table_row(2, "MYSQL_LIBS", PHP_MYSQL_LIBS); #endif php_info_print_table_end(); + + DISPLAY_INI_ENTRIES(); + } -- cgit v1.2.1