Commit fa1aa886 authored by Nico Schallehn's avatar Nico Schallehn

tsa

parent d87218ea
...@@ -62,7 +62,7 @@ class MediaDBViewerAPI{ ...@@ -62,7 +62,7 @@ class MediaDBViewerAPI{
$i = 0; $i = 0;
$entryArray = array(); $entryArray = array();
while($entry = $entrys->fetch_array()){ while($entry = $entrys->fetch_array()){
$tempArray = array();
foreach ($TitelArray as $Titel){ foreach ($TitelArray as $Titel){
$tempArray[$Titel] = utf8_encode($entry[$Titel]); $tempArray[$Titel] = utf8_encode($entry[$Titel]);
} }
...@@ -70,6 +70,7 @@ class MediaDBViewerAPI{ ...@@ -70,6 +70,7 @@ class MediaDBViewerAPI{
}*/ }*/
$finfo = $entrys->fetch_fields(); $finfo = $entrys->fetch_fields();
while($entry = $entrys->fetch_array()){ while($entry = $entrys->fetch_array()){
$tempArray = array();
foreach ($finfo as $val) { foreach ($finfo as $val) {
$tempArray[$val->name] = utf8_encode($entry[$val->name]); $tempArray[$val->name] = utf8_encode($entry[$val->name]);
} }
......
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