exxhal
Legacy Member
Hallo,
Ik stuur volgend form nu naar phpmail.php d.m.v. de "action"
Hoe verwijs ik nu naar dat form want als ik het volgende doe gebeurd er niets of toch bijna , ik krijg wel een email maar de form zit er niet bij.:
<?php
$aan = "[email protected]";
$onderwerp = "form2 is verzonden";
$bericht = "form2"
mail($aan,$onderwerp,$bericht);
echo "Mail Verzonden.";
?>
Ik stuur volgend form nu naar phpmail.php d.m.v. de "action"
Hoe verwijs ik nu naar dat form want als ik het volgende doe gebeurd er niets of toch bijna , ik krijg wel een email maar de form zit er niet bij.:
<?php
$aan = "[email protected]";
$onderwerp = "form2 is verzonden";
$bericht = "form2"
mail($aan,$onderwerp,$bericht);
echo "Mail Verzonden.";
?>
<form id="form2" action="phpmail.php" method="post" enctype="multipart/form-data" style="margin:0px; padding:0px">
<table width="" style="heightx" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="198" style="heightx" valign="top">
<div class="form_div" style="margin-top:0px"><input type="text" class="form m_text" value="naam:"></div>
<div class="form_div"><input type="text" class="form m_text" value="e-mail:"></div>
<div class="form_div"><input type="text" class="form m_text" value="Telefoon:"></div>
<div class="form_div"><input type="text" class="form m_text" value="fax:"></div>
</td>
<td width="" style="heightx" valign="top"><textarea class="form m_text" rows="20" cols="30" style="overflow:hidden; height:78px">commentaar:</textarea><div align="left" class="_text" style="margin-left:67px; margin-top:8px;"><img alt="" border="0" src="images/a.gif" style="margin-right:7px"><a href="#" class="l1_text" onClick="document.getElementById('form2').reset()">reset</a><img alt="" border="0" src="images/a.gif" style="margin-right:7px; margin-left:33px"><a href="#" class="l1_text" onClick="document.getElementById('form2').submit()">submit</a></div></td>
</tr>
</table>
</form>
x" border="0" cellspacing="0" cellpadding="0">