From 6f2010e34a4c8e4a2fe78b78f9688844d350e5a0 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Fri, 17 Mar 2006 10:04:13 +0000 Subject: [PATCH] go --- matita/scripts/public_html/common.php | 2 ++ matita/scripts/public_html/showquery.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/matita/scripts/public_html/common.php b/matita/scripts/public_html/common.php index ca853603d..6668b6d68 100644 --- a/matita/scripts/public_html/common.php +++ b/matita/scripts/public_html/common.php @@ -1,5 +1,7 @@ $v){ echo ""; diff --git a/matita/scripts/public_html/showquery.php b/matita/scripts/public_html/showquery.php index 886cb3390..8b54a76fa 100644 --- a/matita/scripts/public_html/showquery.php +++ b/matita/scripts/public_html/showquery.php @@ -28,7 +28,7 @@ function prettify($s,$name) { } function printer($q){ - static $i = 0; + global $i; echo ""; if ( $i == 0) { foreach( $q as $name => $txt) { @@ -54,7 +54,7 @@ function printer($q){

QUERY results

- $q) { ?> + $q) { $i=0;?>

-- 2.39.2