17.05.2005, 16:23
Hy, habe mal ne frage, was ist hier falsch :
dennh er trägt nichts in die datenbank ein
PHP-Code:
<?php
error_reporting(E_ALL);
include 'config.php';
//eintragen
$title = $_POST["title"];
$autor = $_POST["autor"];
$text = $_POST["text"];
$eintrag = "INSERT INTO news (title, name, text, datum)
VALUES ('$title', '$autor', '$text', NOW())";
$input = mysql_query($eintrag);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Unbenanntes Dokument</title>
</head>
<body>
<div align="center">
<p>Die News wurden erfolgreich eingetragen</p>
<p><a href="../news.php">Zurück</a> </p>
</div>
</body>
</html>
dennh er trägt nichts in die datenbank ein

![[Bild: 1093973822-spam.gif]](http://www.bearkey.com/photos/1093973822-spam.gif)