diff --git a/www-ssl/inc/funktion_db.php b/www-ssl/inc/funktion_db.php
index 2975501b..8470d5d6 100644
--- a/www-ssl/inc/funktion_db.php
+++ b/www-ssl/inc/funktion_db.php
@@ -2,6 +2,33 @@
if( !function_exists("db_query"))
{
+ function Ausgabe_Daten($SQL)
+ {
+ global $con;
+ $Erg = mysql_query($SQL, $con);
+
+ echo mysql_error($con);
+
+ $Zeilen = mysql_num_rows($Erg);
+ $Anzahl_Felder = mysql_num_fields($Erg);
+
+ $Diff = "
";
+ $Diff .= "";
+ for ($m = 0 ; $m < $Anzahl_Felder ; $m++)
+ $Diff .= "". mysql_field_name($Erg, $m). " | ";
+ $Diff .= "
";
+
+ for ($n = 0 ; $n < $Zeilen ; $n++)
+ {
+ $Diff .= "";
+ for ($m = 0 ; $m < $Anzahl_Felder ; $m++)
+ $Diff .= "".mysql_result($Erg, $n, $m). " | ";
+ $Diff .= "
";
+ }
+ $Diff .= "
";
+ return $Diff;
+ }
+
function db_querry_getDatenAssocArray($SQL)
{
global $con;
@@ -18,7 +45,7 @@ if( !function_exists("db_query"))
function db_querry_diffDaten($Daten1, $Daten2)
{
- $gefunden=False;
+ $Gefunden=False;
$Diff = "\n\n";
$Diff .= "\n\tFeldname | \n\told Value | \n\tnew Value | \n";