Obacht! Das ist eine offene Einladung für SQL-Injections. Besser:StarWolf3000 hat geschrieben:Text statt in Datei in Datenbank speichernCode: Alles auswählen
$text = $_POST['text']; if(!mysql_query("INSERT INTO texte (text) VALUES ('$text')", $link)
Code: Alles auswählen
$text = mysql_escape_string($_POST['text']);