From f80dc5a74f0134e408a2507593d07ce14743d889 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Fri, 17 Mar 2006 10:04:13 +0000 Subject: [PATCH] go --- helm/software/matita/scripts/public_html/common.php | 2 ++ helm/software/matita/scripts/public_html/showquery.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helm/software/matita/scripts/public_html/common.php b/helm/software/matita/scripts/public_html/common.php index ca853603d..6668b6d68 100644 --- a/helm/software/matita/scripts/public_html/common.php +++ b/helm/software/matita/scripts/public_html/common.php @@ -1,5 +1,7 @@ $v){ echo ""; diff --git a/helm/software/matita/scripts/public_html/showquery.php b/helm/software/matita/scripts/public_html/showquery.php index 886cb3390..8b54a76fa 100644 --- a/helm/software/matita/scripts/public_html/showquery.php +++ b/helm/software/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