Ik heb nu zelf iets gemaakt maar ik krijg een eror .
Kunnen jullie de fout vinden ?
----------- Mail.php-------------------
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL] [COLOR= #007700]();[/COLOR]
[COLOR= #FF8000]// dit is de database verbinding[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"verbinding.php"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #FF8000]// deze staat hieronder geschreven en kan je wegslashen wanneer je niet wil[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"functions.php"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #FF8000]// zet de variabelen neer die ik ga gebruiken!![/COLOR]
[COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Leeftijd[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Woonplaats[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Netwerk[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$VatsimID[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Bericht[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$EmailCheck[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$To[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$Subject[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$IP[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #FF8000]// kijkt of er data is gepost!! dus zeg maar of er op de knop verzenden is geklikt
// zo ja, gaat ie in de if dingen uitvoeren[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REQUEST_METHOD[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]POST[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #FF8000]//kijk of de variabelen bestaan, zo ja geef ik daar een naam aan[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Naam[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Naam[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Email[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Email[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Leeftijd[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Leeftijd[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Leeftijd[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Woonplaats[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Woonplaats[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Woonplaats[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Netwerk[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Netwerk[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Netwerk[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]VatsimID[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$VatsimID[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]VatsimID[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Bericht[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Bericht[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Bericht[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]To[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$To[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]To[/COLOR][COLOR= #007700]]; }[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Subject[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$Bericht[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Bericht[/COLOR][COLOR= #007700]]; }[/COLOR]
[COLOR= #FF8000]// Toon het ip adres van de bezoeker[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]IP[/COLOR][COLOR= #007700]])) {[/COLOR] [COLOR= #0000BB]$IP[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]]; }[/COLOR]
[COLOR= #FF8000]// zijn de checks die ik uitvoer voor email en postcode[/COLOR]
[COLOR= #0000BB]$EmailCheck[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"^[A-Za-z0-9](([_.-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([.-]?[a-zA-Z0-9]+)*).([A-Za-z]{2,})$"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$PostcodeCheck[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"^[1-9]{1}[0-9]{3}[ ]{0,1}[a-zA-Z]{2}$"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// als er niks bij email is ingevult geef error [/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Email[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel een email adres opgeven"[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL]
[COLOR= #FF8000]// als er wel wat is ingevult check of het een geldig email adres is in hoevere dat kan natuulijk!![/COLOR]
[COLOR= #007700]{[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/eregi"]eregi[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$EmailCheck[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$Email[/COLOR][COLOR= #007700]))
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel een geldige email opgeven"[/COLOR][COLOR= #007700]; }
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Leeftijd[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel u leeftijd opgeven"[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL]
[COLOR= #FF8000]// U leeftijd AUB[/COLOR]
[COLOR= #007700]{[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/eregi"]eregi[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$EmailCheck[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$Email[/COLOR][COLOR= #007700]))
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel een geldige email opgeven"[/COLOR][COLOR= #007700]; }
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Woonplaats[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel u woonplaats op geven"[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL]
[COLOR= #FF8000]// Wel graag u woonplaats op geven[/COLOR]
[COLOR= #007700]{[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/eregi"]eregi[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$EmailCheck[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$Email[/COLOR][COLOR= #007700]))
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel een geldige email opgeven"[/COLOR][COLOR= #007700]; }
}[/COLOR]
[COLOR= #FF8000]// als er niks bij naam is ingevult geef error [/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Naam[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])
{[/COLOR] [COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"U moet wel u naam invullen"[/COLOR][COLOR= #007700]; }[/COLOR]
[COLOR= #FF8000]// als er geen errors zijn mag ie de mail gaan versturen[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$strError[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$Mail[/COLOR] [COLOR= #007700]=[/COLOR][COLOR= #DD0000]"
************************************************************
Naam : $Naam
Email : $Email
Adres : $Leeftijd
Postcode : $Woonplaats
Woonplaats : $Netwerk
Tel. : $VatsimID
IP : $IP
Bericht :
$Bericht
************************************************************"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// mail , naar, onderwerp, en de inhoud naar jou toe
// de $TO en $Subject kan je veranderen in het form onderaan.[/COLOR]
[URL="http://www.php.net/mail"]mail[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$To[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$Subject[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$Mail[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]Naam[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #0000BB]$Naam[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// als de mail goed is verstuurd wordt je automatisch naar bedankt.php gestuurd!!
// vooropgesteld dat je die hebt anders zet je er // voor[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: bedankt.php[/COLOR][COLOR= #007700]);
}
}[/COLOR]
?>
<html>
<head>
<title>contactformulier</title>
<link href="../css/opmaak.css" type="text/css" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css">
<!--
.style1 {
font-family: Verdana,Trebuchet MS, sans-serif;
font-size: 12px;
}
-->
</style>
<meta http-equiv="imagetoolbar" content="no">
</head>
<body bgcolor="fffffff" class="bgleft">
<div align="center">
<table border="0" align="center" valign="top" cellpadding="0" cellspacing="0" width="95%" height="95%" class="tekst">
<tr>
<td align="center" valign="top">
<br>Dank U wel voor het bezoeken van onze site!
<br>Uw reactie is van harte WELKOM!
<br>
<br>Vul het formulier en klik op Verstuur als het klaar is om te verzenden.
<br>
<br>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<b>"[/COLOR] [COLOR= #007700].[/COLOR][COLOR= #0000BB]$strError[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"</b>"[/COLOR][COLOR= #007700];[/COLOR] ?>
<div align="center">
<form name="form1" method="post" action="">
<input type = hidden name = To value = ceo@flyvlmva.nl>
<input type = hidden name = Subject value = mail van jouw website>
<table align="left" valign="top" width="70%" cellpadding="0" cellspacing="0" border="0" class="tekst">
<tr>
<td colspan="3"><input type=hidden name=IP value=" . $IP . "></td>
</tr>
<tr>
<td width="20%" class="style1">Naam*</td>
<td width="80%"><input name="Naam" type="text" class="style1" value="<?= $Naam ?>"></td>
</tr>
<tr>
<td class="style1">Email*</td>
<td><input name="Email" type="text" class="style1" value="<?= $Email ?>"></td>
</tr>
<tr>
<td class="style1">Leeftijd*</td>
<td><input name="Leeftijd" type="text" class="style1" value="<?= $Leeftijd ?>"></td>
</tr>
<tr>
<td class="style1">Woonplaats*</td>
<td><input name="Woonplaats" type="text" class="style1" value="<?= $Woonplaats ?>"></td>
</tr>
<tr>
<td class="style1">Netwerk*</td>
<td><input name="Netwerk" type="text" class="style1" value="<?= $Netwerk ?>"></td>
</tr>
<tr>
<td class="style1">Vatsim of IVAO ID</td>
<td><input name="VatsimID" type="text" class="style1" value="<?= $VatsimID ?>"></td>
</tr>
<tr>
<td class="style1">Bericht</td>
<td><textarea name="Bericht" cols="50" rows="7"><?= $Bericht ?></textarea></td>
</tr>
<tr>
<td> </td>
<td><div align="center">
<input type="submit" name="Submit" value="Verstuur">
</div></td>
</tr>
</table>
<tr>
<td align="center"><p class="smallnavigation">
<br><br>Even een opmerking:
<br>indien u dit formulier verstuurt mag u zeker een reactie verwachten.
<br>Blijft een reactie uit,verstuurt u nogmaals de mail.
<br>Er is dan een grote kans dat wij de mail niet hebben ontvangen.
</p></td>
</tr>
<tr>
<td align="center"><br><br><p class="smallnavigation">[COLOR= #0000BB]<?php[/COLOR] footer[COLOR= #007700]();[/COLOR] ?></p></td>
</tr>
----- bedankt.php---------------
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]
?>
<html>
<head>
<title>jouw titel</title>
</head>
<body bgcolor="fffffff">
<div align="center">
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"../include/db.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<table width="50%" align="center" border="0" cellpadding="0" cellspacing="0" class="tekst">"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<tr><td align="center"><br><br>Bedankt voor u aanmelding , we zullen binnen 24 uur u een email sturen.</tr></td>"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</table>"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<meta http-equiv="Refresh" content="5; url=www.flyvlmva.nl">[/COLOR][COLOR= #007700];[/COLOR]
?>
</div>
</body>
</html>
---------verbinding.php----------------
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]// Open de database connectie[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR]
or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er kan geen verbinding worden gemaakt met de database"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #FF8000]// Selecteer de juiste database[/COLOR]
[COLOR= #0000BB]$res[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$link[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][COLOR= #0000BB]$res[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #FF8000]// er is een fout opgetreden bij het selecteren[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Er is een fout opgetreden bij het openen van de database, probeer het later nog eens"[/COLOR][COLOR= #007700];
}[/COLOR]
?>
-----------functions.php------------------------
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]function[/COLOR] footer[COLOR= #007700]()
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" class="smallnavigation">"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<tr><td align="center"><b>Copyright ©2008-2009 Flyvlmva.NL. All rights Reserved.</b></tr></td>"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</table>"[/COLOR][COLOR= #007700];
}[/COLOR]
?>
Ik krijg deze eror : Warning: Cannot modify header information - headers already sent by (output started at /home/flyvlmva/domains/flyvlmva.nl/public_html/Tom/functions.php:3) in /home/flyvlmva/domains/flyvlmva.nl/public_html/Tom/mail.php on line 97
Tom