hey weten jullie waarom deze code niet werkt? ik krijg geen error maar ook geen mailtje.
[COLOR= #0000BB]<?php
$wie[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]aan[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verzenden[/COLOR][COLOR= #007700]]) {[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$wie[/COLOR][COLOR= #007700]) {
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] [COLOR= #0000BB]$naar[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$wie[/COLOR][COLOR= #007700]; }[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"From:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$reply[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$naar[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$onderwerp[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$headers[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bericht is sucsesvol verzonden!"[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
?>
<form name="contact" method="post" action="">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#TRANSPA">
<td colspan="2"> </td>
</tr>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$wie[/COLOR][COLOR= #007700]) {[/COLOR]
?>
<tr>
<td>Aan:</td>
<td>
<select name="naar">
<option value="voeding@goedinvorm-voordorp.nl">Lette Doornbos</option>
<option value="sport@goedinvorm-voordorp.nl">Karen van Ewijk</option>
<option value="Rogierfischer@live.nl">Rogier Fischer (websitebeheerder)</option>
</select>
</td>
</tr>
[COLOR= #0000BB]<?[/COLOR]
[COLOR= #007700]}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"
<tr>
<td>Aan:</td>
<td><b>$wie</b></td>
</tr>"[/COLOR][COLOR= #007700]; }[/COLOR]
?>
<tr>
<td width="30%">Onderwerp:</td>
<td width="70%">
<input type="text" name="onderwerp">
</td>
</tr> <tr>
<td valign="top">Je e-mail:</td>
<td>
<input type="text" name="reply">
</td>
</tr>
</tr>
<tr>
<td valign="top">Bericht:</td>
<td>
<textarea name="bericht" cols="50" rows="6"></textarea>
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="verzenden" value="Verzenden">
<input type="reset" name="reset" value="Wissen">
</td>
</tr>
</table></form>
[COLOR= #0000BB]<?[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
.
