hi, were is the bug ?
if($gesendet)
{
$sql = "INSERT INTO bausonstige VALUES ;
if(!$val)
{
$feld[$key] = "NULL";
}
else
if ($typ[$key] == "VARCHAR")
$feld[$key] = "'" . $feld[$key] . "'";
$sql = $sql . implode($feld, ", ") . ")";
echo "$sql<br>\n";
$ergebnis = odbc_exec($verbindung, $sql);
if ($ergebnis)
echo "Datensatz wurde aufgenommen.<br>\n";
else
echo "Datensatz nicht aufgenommen. <br>\n";
odbc_free_result($ergebnis);
}
i can“t find it...