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/mysql/php_mysql.c | |
| parent | 56fc855afdde5270d9b6558734bd476669224e1d (diff) | |
| download | php-git-a7c8bfb9fb2d20341181c3ab351fc436a4cc0e2a.tar.gz | |
phpinfo() prettying
Diffstat (limited to 'ext/mysql/php_mysql.c')
| -rw-r--r-- | ext/mysql/php_mysql.c | 7 | 
1 files changed, 4 insertions, 3 deletions
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(); +  }  | 
