Hello,
<?php
$date = (date ("d.m.Y"));
bau hier mal nur so zum Test diesen Code ein:
echo "<pre>\r\n";
echo htmlspecialchars(print_r($_POST,1));
echo "</pre>\r\n";
if ($text != "")
{$text = trim($text);
$text = ltrim($text);$text = ereg_replace ("\n", "<BR>", $text);
if ($select == "01")
{
$fp = fopen("/01.txt", "a");}if ($select == "02")
{
$fp = fopen("/02.txt", "a");}if ($select == "03")
{
$fp = fopen("/03.txt", "a");}if ($select == "04")
{
$fp = fopen("/04.txt", "a");}if ($select == "05")
{
$fp = fopen("/05.txt", "a");}if ($select == "06")
{
$fp = fopen("/06.txt", "a");}if ($select == "07")
{
$fp = fopen("/07.txt", "a");}if ($select == "08")
{
$fp = fopen("/08.txt", "a");}if ($select == "09")
{
$fp = fopen("/09.txt", "a");}if ($select == "10")
{
$fp = fopen("/10.txt", "a");}if ($select == "11")
{
$fp = fopen("/11.txt", "a");}if ($select == "12")
{
$fp = fopen("/12.txt", "a");}if ($select == "13")
{
$fp = fopen("/13.txt", "a");}if ($select == "14")
{
$fp = fopen("/14.txt", "a");}
Du erwartest die Daten vermutlich in einer falschen Variable.
Außerdem würde ich der Ordnung halber auch elseif() verwenden für die Verkettung der Bedingungen oder eine Switch-Anweisung
Ein harzliches Glückauf
Tom vom Berg