erweitert
git-svn-id: svn://svn.cccv.de/engel-system@120 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
e3d3d76d5c
commit
7343b39173
|
@ -50,13 +50,23 @@ if( !function_exists("db_query"))
|
||||||
|
|
||||||
//Daten auslesen
|
//Daten auslesen
|
||||||
$Diff .= Ausgabe_Daten( "SELECT * FROM $Table $Where");
|
$Diff .= Ausgabe_Daten( "SELECT * FROM $Table $Where");
|
||||||
|
|
||||||
//execute command
|
//execute command
|
||||||
$querry_erg = mysql_query($SQL, $con);
|
$querry_erg = mysql_query($SQL, $con);
|
||||||
|
|
||||||
//Daten auslesen
|
//Daten auslesen
|
||||||
$Diff .= Ausgabe_Daten( "SELECT * FROM $Table $Where");
|
$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)
|
elseif( strpos( "#$SQL", "INSERT") > 0)
|
||||||
{
|
{
|
||||||
echo "##### LOG: INSERT #####";
|
echo "##### LOG: INSERT #####";
|
||||||
|
|
Loading…
Reference in New Issue