summaryrefslogtreecommitdiff
path: root/www-ssl/inc
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-04-17 10:08:14 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-04-17 10:08:14 +0000
commit7343b39173c61c0a264bbd50a5674d9b63df396b (patch)
treee4f19df3c014cbdcc069e6e65916e4d96fa7a091 /www-ssl/inc
parente3d3d76d5cbefd56b978ca7cf8dd9d13cd0605c5 (diff)
erweitert
git-svn-id: svn://svn.cccv.de/engel-system@120 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc')
-rw-r--r--www-ssl/inc/funktion_db.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/www-ssl/inc/funktion_db.php b/www-ssl/inc/funktion_db.php
index 329e9c29..e0e5d98e 100644
--- a/www-ssl/inc/funktion_db.php
+++ b/www-ssl/inc/funktion_db.php
@@ -50,13 +50,23 @@ if( !function_exists("db_query"))
//Daten auslesen
$Diff .= Ausgabe_Daten( "SELECT * FROM $Table $Where");
-
+
//execute command
$querry_erg = mysql_query($SQL, $con);
//Daten auslesen
$Diff .= Ausgabe_Daten( "SELECT * FROM $Table $Where");
}
+ elseif( strpos( "#$SQL", "DELETE") > 0)
+ {
+ $TableWhere = substr( $SQL, 6);
+
+ //Daten auslesen
+ $Diff .= Ausgabe_Daten( "SELECT * $TableWhere");
+
+ //execute command
+ $querry_erg = mysql_query($SQL, $con);
+ }
elseif( strpos( "#$SQL", "INSERT") > 0)
{
echo "##### LOG: INSERT #####";