PHP-Code:
<?php
error_reporting(-1);
ini_set('display_errors', TRUE);
//Uebergabe aus Seite 1
$name = $_POST['name'];
$gefuehl= $_POST['gefuehl'];
$stimmung = $_POST['stimmung'];
//Name und Text in Tabelle test eintragen
$laune = $_POST['laune'];
$suizid = $_POST['suizid'];
$mysql_befehl = "INSERT INTO test(name,gefuehl,stimmung,laune,suizid) VALUES ('$name','$gefuehl','$stimmung','$laune','$suizid')";
$mysql_input = mysql_query($mysql_befehl) or die(mysql_error());
Warum stellst du keine Verbindung zum DBMS her?
Wo ist der mysql_select_db() ?