]> granicus.if.org Git - php/commitdiff
phpinfo() prettying
authorColin Viebrock <cmv@php.net>
Wed, 5 Apr 2000 20:18:58 +0000 (20:18 +0000)
committerColin Viebrock <cmv@php.net>
Wed, 5 Apr 2000 20:18:58 +0000 (20:18 +0000)
ext/mysql/php_mysql.c

index 471db3f26fac6e6456bb137ea53eaa02a50140ea..5406880e0908938b226b901e32d7fb4c3c760a02 100644 (file)
@@ -293,7 +293,7 @@ PHP_MINFO_FUNCTION(mysql)
 
        DISPLAY_INI_ENTRIES();
 
-       php_printf("<table border=5 width=\"600\">");
+       php_info_print_table_start();
        php_info_print_table_header(2, "Key", "Value");
        sprintf(buf, "%ld", MySG(num_persistent));
        php_info_print_table_row(2, "Active Persistent Links", buf);
@@ -305,7 +305,7 @@ PHP_MINFO_FUNCTION(mysql)
        php_info_print_table_row(2, "MYSQL_LFLAGS", PHP_MYSQL_LFLAGS);
        php_info_print_table_row(2, "MYSQL_LIBS", PHP_MYSQL_LIBS);
 #endif
-       php_printf("</table>\n");
+       php_info_print_table_end();
 }