Commit d2e7701d authored by Nico Schallehn's avatar Nico Schallehn

test

parent 6b0c3002
...@@ -54,8 +54,8 @@ class MediaDBViewerAPI{ ...@@ -54,8 +54,8 @@ class MediaDBViewerAPI{
return $this->error(1004); return $this->error(1004);
} }
else{ else{
$entrys = $this->DB_Objekt->query("SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table']." LIMIT 5;"); $entrys = $this->DB_Objekt->query("SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table']." LIMIT 1;");
echo "SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table']." LIMIT 5;"; echo "SELECT ".$this->iset($GET_arr['Spalten'], '*')." FROM ".$GET_arr['Table']." LIMIT 1;";
//var_dump($entrys->fetch_array()); //var_dump($entrys->fetch_array());
$TitelArray = explode(",", $GET_arr['Spalten']); $TitelArray = explode(",", $GET_arr['Spalten']);
$i = 0; $i = 0;
......
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