So, jetzt habe ich denke, ich beide Dateien fertig, nur leitet der nicht auf das danke weiter, ich hänge die scripts an, vielleicht hat da jemand eine Idee, danke im vorraus:
Formular:
<html>
<head>
<title>Kontaktseite</title>
</head>
<body>
<align="center"><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%" id="AutoNumber1"></align="center">
<tr>
<td width="100%">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="60%" id="AutoNumber2">
<tr>
<td width="100%" colspan="2">
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial"><br />Herzlich
willkommen auf unserer Kontaktseite !</font></p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial"><br />Das ist der Einleitungstext</font></p>
<p style="margin-top: 0; margin-bottom: 0"><p><font face="Arial"><br />Wir
freuen uns schon auf Ihre Anfrage<br /></font></td>
</tr>
<tr>
<td width="50%" align="center">Anfrage</td>
<td width="50%" align="center">Bestellung</td>
</tr>
<tr>
<td width="50%">
<form method="POST">
<select size="1" name="anfrage">
<option>... test a</option>
<option>... test b</option>
<option>... test c</option>
<option>_</option>
</select></p>
</td>
<td width="50%">
<select size="1" name="bestellung">
<option>... test e</option>
<option>... test f</option>
<option>_</option>
</select></p>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<p>
<textarea rows="12" name="text" cols="49"></textarea></p>
</td>
</tr>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%" id="AutoNumber1">
<tr>
<td width="100%">
<p>
Name:&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;
<input type="text" name="name" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">
<p>
Adresse :&nbsp;&nbsp;&nbsp; <input type="text" name="adresse" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">PLZ:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<input type="text" name="plz" size="20">
<p>
Ort:&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;
<input type="text" name="ort" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">
<p>
Tel.:&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;
<input type="text" name="tel" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">
<p>
Mobil.:&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
<input type="text" name="mobil" size="20"></p>
</form>
</td>
</tr>
<tr>
<td width="100%">
<p>
Email&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="text" name="email" size="20"></p>
</td>
</tr>
<tr>
<td width="50%">&nbsp;</td>
<td width="50%"><align="right"></align="right"><input type="submit" name="submit" value="versenden" style="float: right"></td>
</tr>
</form>
</table>
</center>
</div>
</body>
</html>
Dankeskript:
<?php
<form method="post" actione="formular.php">
empfaenger="[email protected]";
$betreff="Anfrage bei der Website";
$text=$post
<h2>Danke</h2>
$sender="$email";
$sendermail="[email protected]";
mail($anfrage,$bestellung,$text,$name,$adresse,$pl z,$ort,$tel,$mobil,$email, "From:$email");
</form>
?>
Vielleicht fällt euch da was ein
Formular:
<html>
<head>
<title>Kontaktseite</title>
</head>
<body>
<align="center"><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%" id="AutoNumber1"></align="center">
<tr>
<td width="100%">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="60%" id="AutoNumber2">
<tr>
<td width="100%" colspan="2">
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial"><br />Herzlich
willkommen auf unserer Kontaktseite !</font></p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial"><br />Das ist der Einleitungstext</font></p>
<p style="margin-top: 0; margin-bottom: 0"><p><font face="Arial"><br />Wir
freuen uns schon auf Ihre Anfrage<br /></font></td>
</tr>
<tr>
<td width="50%" align="center">Anfrage</td>
<td width="50%" align="center">Bestellung</td>
</tr>
<tr>
<td width="50%">
<form method="POST">
<select size="1" name="anfrage">
<option>... test a</option>
<option>... test b</option>
<option>... test c</option>
<option>_</option>
</select></p>
</td>
<td width="50%">
<select size="1" name="bestellung">
<option>... test e</option>
<option>... test f</option>
<option>_</option>
</select></p>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<p>
<textarea rows="12" name="text" cols="49"></textarea></p>
</td>
</tr>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%" id="AutoNumber1">
<tr>
<td width="100%">
<p>
Name:&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;
<input type="text" name="name" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">
<p>
Adresse :&nbsp;&nbsp;&nbsp; <input type="text" name="adresse" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">PLZ:&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<input type="text" name="plz" size="20">
<p>
Ort:&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;
<input type="text" name="ort" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">
<p>
Tel.:&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;
<input type="text" name="tel" size="20"></p>
</td>
</tr>
<tr>
<td width="100%">
<p>
Mobil.:&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;
<input type="text" name="mobil" size="20"></p>
</form>
</td>
</tr>
<tr>
<td width="100%">
<p>
Email&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="text" name="email" size="20"></p>
</td>
</tr>
<tr>
<td width="50%">&nbsp;</td>
<td width="50%"><align="right"></align="right"><input type="submit" name="submit" value="versenden" style="float: right"></td>
</tr>
</form>
</table>
</center>
</div>
</body>
</html>
Dankeskript:
<?php
<form method="post" actione="formular.php">
empfaenger="[email protected]";
$betreff="Anfrage bei der Website";
$text=$post
<h2>Danke</h2>
$sender="$email";
$sendermail="[email protected]";
mail($anfrage,$bestellung,$text,$name,$adresse,$pl z,$ort,$tel,$mobil,$email, "From:$email");
</form>
?>
Vielleicht fällt euch da was ein
Kommentar