}
function printer($q){
- static $i = 0;
+ global $i;
echo "<tr>";
if ( $i == 0) {
foreach( $q as $name => $txt) {
</head>
<body>
<h1>QUERY results</h1>
-<? foreach( $qs as $name => $q) { ?>
+<? foreach( $qs as $name => $q) { $i=0;?>
<h2><? echo $name; ?></h2>
<p>
<tt><? print $q; ?></tt>