huhu bin jetzt schonwieder 1std. am Fehlersuchen:/
Meldung: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Kann das irgendwie dran liegen das ich in der Update die 2 neuen Felder nicht drin hab? Eigentlich nicht oder?
Meldung: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Code:
<? } } if($action =="change") { $result = mysql_query("update k_customer set id = '$id', firma = '$firma', vorname = '$vorname', nachname = '$nachname', zusatz = '$zusatz', apartner = '$apartner', strasse = '$strasse', nr = '$nr', plz = '$plz', ort = '$ort', land = '$land', tel = '$tel', fax = '$fax', email = '$email' WHERE id = $id") or die('Fehler '.mysql_error()); echo "Erfolgreich geändert!"; mysql_close($dbverbindung); } ?>
Kommentar