<?php
include('mysql_connect.php');
$aendern = "DELETE FROM ".$_GET['nr']." WHERE id = `".$_GET['id']."`";
echo $aendern;
$update = mysql_query($aendern);
if (!$update) {
die('Invalid query: ' . mysql_error());
}
header("Location: mandant.php?nr=".$_GET['nr']);
?>
DELETE FROM 5678 WHERE id = `3`Invalid query: 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 '5678 WHERE id = `3`' at line 1
(Der Erste Teil kommt vom echo und ist keine Fehlermeldung)
Habt ihr eine Idee?
Stefan

Hilfe
Neues Thema
Antworten



Nach oben






