Lid |
|
ik snap niet waar de fout zit.
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /drive2/fpgshttpd/cyberstek/contact.php on line 28
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?
if (!$_get['submit'])
{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>contacteer ons</title>
</head>
<form action="contact.php" method="get">
E-mail adres: <input type="text" name="e-mail"
<br>
Onderwerp: <input type="text" name="onderwerp"
Opmerking: <input type="text" name="vraagopmerking">
<br>
<br>
<input type="submit" value="Verstuur" name="submit">
<input type="Reset" name="reset">
</form>
</html>
<?php
}
else
{
$opmerking="Opmerking: $_get['vraagopmerking']";
$onderwerp="$_get['onderwerp'];
mail("lars_mulders@hotpop.com", "$onderwerp", "$opmerking");
print "Uw opmerking is verstuurd, u kan nu terug keren met de \"vorige\" knop."
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <? if (!$_get['submit']) { ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>contacteer ons</title> </head> <form action="contact.php" method="get"> E-mail adres: <input type="text" name="e-mail" <br> Onderwerp: <input type="text" name="onderwerp" Opmerking: <input type="text" name="vraagopmerking"> <br> <br> <input type="submit" value="Verstuur" name="submit"> <input type="Reset" name="reset"> </form> </html> <?php } else { $opmerking="Opmerking: $_get['vraagopmerking']"; $onderwerp="$_get['onderwerp']; mail("lars_mulders@hotpop.com", "$onderwerp", "$opmerking"); print "Uw opmerking is verstuurd, u kan nu terug keren met de \"vorige\" knop." } ?>
|