PHP-Code:
echo "<pre>";
$firma=trim($_POST["firma"]);
$firma=stripslashes($firma);
$firma=htmlspecialchars($firma);
echo $firma."\n\n";
var_dump($firma);
$sql="update meinekunden set firma='".mysql_real_escape_string($firma)."' where pagename='".mysql_real_escape_string($pagename)."' limit 1;";
echo "\n\n".$sql;
mysql_query($sql) or die(mysql_error());
echo "</pre>";
Kommentar