[PHP & MySQL] Was ist bei meinen Formularen falsch?

Saijori
.x Hallu

Ich habe ein Problem mit allen meinen Formularen..... : Ich habe halt als Probe immer versucht ein Formular abzuschicken und dann halt zu gucken ob die Mail ankommt. Doch bei jedem der Formulare kam nichts an unglücklich

Ich stelle euch mal ein Formular von den vielen rein:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

  <link rel="stylesheet" href="style.css">
  <title>vollanmeldungformular.html</title>

</head>


<body>

<form action="vollanmeldung.php" method="post">
  <h1>Vollanmeldung</h1>

  <br>

  <br>

Hier kannst du dich als Vollmitglied anmelden, aber nur
wenn du eine bestätigende PN von uns bekommen hast. <br>

  <br>

  <br>

  <table style="" name="" type="text">

    <tbody>

      <tr>

        <td style="font-weight: bold;">Name:</td>

        <td><input name="name" type="text"></td>

      </tr>

      <tr>

        <th>e-Mail:</th>

        <td><input name="email" type="text"></td>

      </tr>

      <tr>

        <th>Privatpferd:</th>

        <td><input name="privatpferd" type="text"></td>

      </tr>

      <tr>

        <th>Job:</th>

        <td><input name="job" type="text"></td>

      </tr>

      <tr>

        <th>Virtueller
Name:</th>

        <td><input name="virtuellername" type="text"></td>

      </tr>

      <tr>

        <th>Virtuelles
Alter:</th>

        <td><input name="virtuellesalter" type="text"></td>

      </tr>



      <tr>

        <th><input value="Absenden" type="submit"></th>

        <th><input value="Zurücksetzen" type="reset"></th>

      </tr>

    </tbody>
  </table>

</form>

</body>
</html>


Und die PHP-Datei:
php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

  <link rel="stylesheet" href="style.css">
  <title>vollanmeldung.php</title>

</head>


<body>

<br>

<?php $name=$_POST['name'];
$email=$_POST['email'];
$privatpferd=$_POST['privatpferd'];
$job=$_POST['job'];
$virtuellername=$_POST['virtuellername'];
$virtuellesalter=$_POST['virtuellesalter'];
if ( $name=="" OR $email =="" OR $privatpferd =="" OR $job =="" OR $virtuellername =="" OR $virtuellesalter =="" )
{
echo "Du hast nicht alle Felder ausgefüllt! Gehe <a href='javascript:back()'>zurück</a> und korrigiere dies!";
}
else
{
mail("gs.greenlee@web.de","Vollanmeldung","Name: $name - E-Mail: $email - Privatpferd: $privatpferd - Job: $job - Virtueller Name: $virtuellername - Viertuelles Alter: $virtuellesalter","From: $name <$email>");
echo "Deine e-Mail wurde erfolgreich abgeschickt. Warte nur auf eine Mail und schon kannst du alles machen.";
}
?>
</body>
</html>
Saijori
Danke schonmal aber es kommt immer noch nicht an unglücklich
Saijori
Mailaddy: gs.greenlee@web.de

Und die Mail kommt erst gar nicht an unglücklich
Saijori
Saijori
Oh echt nicht? Gibt es da eine alternative lösung?
Saijori
oki Augenzwinkern Also lasse ich mal die Seite umziehen Augenzwinkern Die Links schreibe ich immer vollständig Augenzwinkern