[PHP & MySQL] Formular Frage

Jesssi
Ich hätte eine Frage zu diesem PHP Teil des Formulars:
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:
<?php

$name = $_POST['name'];

$email = $_POST['email'];

$geburtsdatum = $_POST['geburtsdatum'];

$msnicq = $_POST['msnicq'];

$homepage = $_POST['homepage'];

$überrcw = $_POST['überrcw'];

$überdich = $_POST['überdich'];

$geburtsdatumvirtuell = $_POST['geburtsdatumvirtuell'];

$überdichvirtuell = $_POST['überdichvirtuell'];

$text = "Hallo Jessi, du hast ein neues Vollmitglied!

 

Name: $name 
E-mail: $email
Geburtsdatum: $geburtsdatum 
MSN/ICQ: $msnicq
Homepage: $homepage
Über RCW: $über rcw
Über dich: $über dich
Geburtsdatum virtuell: $geburtsdatum virtuell
Über dich virtuell: $über dich virtuell"

if_(($name == "") OR ($email == "") OR ($geburtsdatumvirtuell == "") OR ($überdichvirtuell == "") OR ($geburtsdatum == ""))
{ echo "Bitte f&uuml;lle alle Felder aus";

include('formular 2.html'); }

  

else {

mail("waldenau@gmx.at",Vollanmeldung,$text,"From: $email");

echo "Die Anmeldung wurde abgeschickt.";}

?>


sobald ich ein Formular abschicken will kommt:


Parse error: syntax error, unexpected T_STRING in /usr/export/www/hosting/waldenau/formular_send2.php on line 35

kann mir bitte jemand helfen großes Grinsen
Carina
müsste gehen wenn du in line 35 den unterstrich weg nimmst also
if ((
Jesssi
schon probiert dann kommt das:


Parse error: syntax error, unexpected T_IF in /usr/export/www/hosting/waldenau/formular_send2.php on line 35
Jesssi
danke aber leider trotzdem noch nicht richtigunglücklich
Jesssi
zuerst die:
Parse error: syntax error, unexpected T_IF in /usr/export/www/hosting/waldenau/formular_send2.php on line 35

und wenn ich dann wieder nach dem if ein _ mach kommt wieder die erste
Carina
nach dem if soll auch kein _
Jesssi
wenn ich nach dem if kein _ mach dann kommt das:

Parse error: syntax error, unexpected T_IF in /usr/export/www/hosting/waldenau/formular_send2.php on line 35
Carina
hm hast du nach dem if auch ein leerzeichen?
Jesssi
ja
Nanni
Probier den von Mutzelchen mit einem Abstand nach dem if.
Der von ihr sollt eig. richtig sein ^^
LG
Jesssi
wenn ich den von mutzelchen nehme und nach dem if ein leerzeichen mach kommt immer egal ob ich alle felder ausfülle oder nicht: Bitte fülle alle Felder aus
Jesssi
*hoff dass da kein fehler ist^^*

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:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>formular 2</title>


</head>
<body>

<form action="formular_send2.php" method="post">
  <table>

    <tbody>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg"><small>Name</small></td>

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

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>E-Mail</small></td>

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

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>Geburtsdatum</small></td>

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

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>MSN/ICQ</small></td>

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

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>Homepage</small></td>

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

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>&Uuml;ber
RCW</small></td>

        <td><textarea name="&uuml;ber rcw"></textarea></td>

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>&Uuml;ber
dich</small></td>

        <td><textarea name="&uuml;ber dich"></textarea></td>

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>Geburtsdatum
virtuell</small></td>

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

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <small>&Uuml;ber
dich virtuell</small></td>

        <td><textarea name="&uuml;ber dich virtuell"></textarea></td>

      </tr>

      <tr>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <input value="Abschicken" type="submit"></td>

        <td style="text-align: center; font-family: Verdana;" background="http://i37.tinypic.com/2v9wtpk.jpg">
        <input value="L&ouml;schen" type="reset"></td>

      </tr>

    </tbody>
  </table>

</form>

</body>
</html>
Jesssi
ok....
Nanni
und die Abstände im Namen, zb über rcw und dann in der php-Datei überrcw, das kann nicht gehen (;
Jesssi
das hab ich eh schon gemekrt und auch ausgebessert smile
Carina
wenn du alles ausgebessert hast und es immer noch nicht geht solltest du vllt mal die neuen codes reinstellen