Nieuw lid |
|
ik krijg de volgende foutmelding :
De parameter $langue krijgt hij mee van de vorige pagina.
Warning: Cannot modify header information - headers already sent by (output started at /home/schjoh/public_html/caledonian/start.php:8) in /home/schjoh/public_html/caledonian/start.php on line 32
Dit is de code
<head>
<link rel="stylesheet" href="file:///D|/Mijn%20documenten/WEBSITE/www.caledonian.be/style.css" type="text/css" >
<link rel="SHORTCUT ICON" href="" >
<title>www.test.be</title>
<meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" >
<meta content="Dutch, English" name="language" >
<meta name="robots" content="index,all" >
<meta name="revisit-after" content="1 day" >
<link href="style_ie.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="831" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" colspan="3" >
<?php
if(isset($_COOKIE['taal'])) {
// cookie bestaat
$langue = $_COOKIE['taal'];
if ($langue == "NL") {
echo "<img src=\"pictures/NL_banner.png\" width=\"800\" height=\"86\">";
} else {
echo "<img src=\"pictures/EN_banner.png\" width=\"800\" height=\"86\">";
}
} else {
// cookie bestaat niet
setcookie("taal", $langue);
}
?>
</td>
</tr>
<tr>
<td width="130" nowrap><?php include ("menu.inc.php") ?>
<span class="foots"><?php echo "taal : $langue "; ?></span>
<br>
</td>
<td width="698" colspan="2"> </td>
</tr>
</table>
</body>
</html>
<head> <link rel="stylesheet" href="file:///D|/Mijn%20documenten/WEBSITE/www.caledonian.be/style.css" type="text/css" > <link rel="SHORTCUT ICON" href="" > <title>www.test.be</title> <meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" > <meta content="Dutch, English" name="language" > <meta name="robots" content="index,all" > <meta name="revisit-after" content="1 day" > <link href="style_ie.css" rel="stylesheet" type="text/css"> </head> <body> <table width="831" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="50" colspan="3" > <?php if(isset($_COOKIE['taal'])) { // cookie bestaat $langue = $_COOKIE['taal']; if ($langue == "NL") { echo "<img src=\"pictures/NL_banner.png\" width=\"800\" height=\"86\">"; } else { echo "<img src=\"pictures/EN_banner.png\" width=\"800\" height=\"86\">"; } } else { // cookie bestaat niet } ?> </td> </tr> <tr> <td width="130" nowrap><?php include ("menu.inc.php") ?> <span class="foots"> <?php echo "taal : $langue "; ?></span> <br> </td> <td width="698" colspan="2"> </td> </tr> </table> </body> </html>
Wie kan mij helpen aub:(
|