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 '[online-hiorg].[alert] SET id
= "1", wache
= "{$wache}"' at line 1
$connection=mysql_connect($mysqlhost, $mysqluser, $mysqlpwd) or die ("Verbindungsversuch fehlgeschlagen");
mysql_select_db($mysqldb, $connection) or die("Konnte die Datenbank $mysqldb nicht waehlen.");
$sql = 'UPDATE [online-hiorg].[alert]
SET
`id` = "1",
`wache` = "{$wache}",
`fahrzeuge` = "{$fahrzeug}",
`strasse` = "{$strase}",
`plz` = "{$plz}",
`ort` = "{$ort}",
`fon` = "{fon}",
`stichwort` = "{$stichwort}",
`object` = "{$objekt}",
`mitteiler` = "{$mitvon}",
`masnahme` = "{$masnahme}",
`kommentar` = "{$kommentar}",
WHERE `alert`.`id` = 1 LIMIT 1';
$adressen_query = mysql_query($sql) or die(mysql_error());
leider nicht...
--
Programmieren ist eine Kunst, AutoIt ist der Pinsel.
(http://AutoIt.de)
Programmieren ist eine Kunst, AutoIt ist der Pinsel.
(http://AutoIt.de)