hallo
kann mir jemand helfen ?
ich möchte, das die eintragsdatei die daten in die gästebuchdatei schreibt.
eintragsdatei:(html)
Code
<HTML>
<HEAD>
<TITLE>Gästebuch</TITLE>
<STYLE>
BODY { background-color:#000000; font-family:Verdana,Arial,Tahoma; font-size:8pt; color:FFFF99;
scrollbar-base-color:#000000;
scrollbar-3dlight-color:#CCCCCC;
scrollbar-arrow-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-highlight-color:#CCCCCC;
scrollbar-shadow-color:#999999;
scrollbar-track-color:#999999
}
A { font-family:Verdana,Arial,Tahoma; font-size:8pt; color:CCCCCC }
H1 { font-family:Verdana,Arial,Tahoma; font-size:16pt; color:CCCCCC }
HR { color:#FF6600 }
TD { font-family:Verdana,Arial,Tahoma; font-size:8pt; color:#FFCC00 }
INPUT,TEXTAREA { background-color:#FF9900; border:1px solid #ffffff; font-family:Arial,Tahoma; font-size:8pt; color:#ffffff; }
a, a:active, a:visited
{
color: #FF9900;
text-decoration: none;
}
a:hover, a:active:hover, a:visited:hover
{
color: #FFFF99;
text-decoration: none;
}
</STYLE>
</HEAD>
<BODY>
<p align="right">[url='gaestebuch.php']zum Gästebuch[/url]</p>
<table cellpadding="5" cellspacing="5" width="100%">
<tr>
<td align="center">
<h1>Eintrag ins Gästebuch</h1>
<FORM action="gaestebuch.php" method="post">
<table width="310">
<tr>
<td>
Name:
</td>
<td>
<input type="text" name="nname" size="38" maxlength="40" VALUE="">
</td>
</tr>
<tr>
<td>
Email:*
</td>
<td>
<input type="text" name="email" size="38" VALUE="">
</td>
</tr>
<tr>
<td width="33%">
Homepage:*
</td>
<td>
<input type="text" name="hpage" size="38" VALUE="">
</td>
</tr>
<tr>
<td colspan="2">
Kommentar:
<textarea name="kommentar" rows="6" cols="62" VALUE=""></textarea>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="senden" value="eintragen">
<INPUT TYPE="reset" VALUE=" löschen ">
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</FORM>
</td></tr></table></BODY>
</HTML>
gästebuchdatei:(php)<HTML>
<HEAD>
<TITLE>Gästebuch</TITLE>
<STYLE>
BODY { background-color:#000000; font-family:Verdana,Arial,Tahoma; font-size:8pt; color:FFFF99;
scrollbar-base-color:#000000;
scrollbar-3dlight-color:#CCCCCC;
scrollbar-arrow-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-highlight-color:#CCCCCC;
scrollbar-shadow-color:#999999;
scrollbar-track-color:#999999
}
A { font-family:Verdana,Arial,Tahoma; font-size:8pt; color:CCCCCC }
H1 { font-family:Verdana,Arial,Tahoma; font-size:16pt; color:CCCCCC }
HR { color:#FF6600 }
TD { font-family:Verdana,Arial,Tahoma; font-size:8pt; color:#FFCC00 }
INPUT,TEXTAREA { background-color:#FF9900; border:1px solid #ffffff; font-family:Arial,Tahoma; font-size:8pt; color:#ffffff; }
a, a:active, a:visited
{
color: #FF9900;
text-decoration: none;
}
a:hover, a:active:hover, a:visited:hover
{
color: #FFFF99;
text-decoration: none;
}
</STYLE>
</HEAD>
<BODY>
<center>
<h1>Gästebuch</h1>
</center>
<center>
<FORM METHOD="POST" ACTION="gaestebuch.php">
<INPUT TYPE="SUBMIT" NAME="eintrag" VALUE="Neuer Eintrag">
</FORM>
</center><p align="justify" style="margin-left:17pt;margin-right:25pt">
<hr width="80%" color="#2f5a4f" size="1">
<p align="right">[url='gaestebuch.php?admin_login=true']Admin[/url]
</BODY>
</HTML>
Alles anzeigen
wäre echt cool wenn ihr mir helfen könntet
im vorraus