|
|
@ -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 #####";
|
|
|
|