";
}
$mtime2 = microtime();
$mtime2 = explode(" ",$mtime2);
$mtime2 = $mtime2[1] + $mtime2[0];
$tpl_time = $mtime2 - $tpl_start;
echo "Dauer Queryabfrage [s] = " . number_format($tpl_time, 5) . "
";
echo "
**************************************************************************
";
//chnuschti 2
$mtime1 = microtime();
$mtime1 = explode(" ",$mtime1);
$mtime1 = $mtime1[1] + $mtime1[0];
$tpl_start = $mtime1;
foreach($such as $k) $m[]=$k[0];
foreach($x as $n) $p[]=$n[0]; // $a[0] = Dimension wo zu suchen,
foreach ($m as $q) {$h=array_search($q, $p); echo $x[$h][1] . "
";}
$mtime2 = microtime();
$mtime2 = explode(" ",$mtime2);
$mtime2 = $mtime2[1] + $mtime2[0];
$tpl_time = $mtime2 - $tpl_start;
echo "Dauer Queryabfrage [s] = " . number_format($tpl_time, 5) . "
";
echo "
**************************************************************************
";
//tbt
$mtime1 = microtime();
$mtime1 = explode(" ",$mtime1);
$mtime1 = $mtime1[1] + $mtime1[0];
$tpl_start = $mtime1;
foreach($x as $key=>$value)
$suche_in[$key]=$value[0];
$anzahl = count($such);
for($i=0;$i<$anzahl;++$i){
$erg=array_search($such[$i][0],$suche_in);
if(is_numeric($erg)){
echo $x[$erg][1]."
";
while(isset($x[++$erg][0])&&$x[$erg][0]==$such[$i][0])
echo $x[$erg][1]."
";
}
}
$mtime2 = microtime();
$mtime2 = explode(" ",$mtime2);
$mtime2 = $mtime2[1] + $mtime2[0];
$tpl_time = $mtime2 - $tpl_start;
echo "Dauer Queryabfrage [s] = " . number_format($tpl_time, 5) . "
";
?>