Commit 84b27a94 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 82ec347f
......@@ -54,7 +54,7 @@ class MediaDBViewerAPI{
return $this->error(1004);
}
else{
$entrys = $this->DB_Objekt->query("SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table'].";");
$entrys = $this->DB_Objekt->query("SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table']." LIMIT 100;");
//echo "SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table'].";";
//var_dump($entrys->fetch_array());
$TitelArray = explode(",", $GET_arr['Spalten']);
......@@ -63,7 +63,7 @@ class MediaDBViewerAPI{
foreach ($TitelArray as $Titel){
$entryArray[$i][$Titel] = $entry[$Titel];
}
//$i++;
$i++;
}
return array("Spalten"=>$TitelArray, "Data" =>$entryArray);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment