madwormer2 wrote:In keywords.php there is a header() call. BUT before that, you're sending data.
I'm not exactly sure what you mean 😕
here's what the code would look like if it was all in one file
<? session_start();
$gameVar = $_COOKIE['gameCookie'] + 1;
setcookie("gameCookie", $gameVar, time()+60*60*24*30*120);
$_SESSION['score'] = 0;
$_SESSION['result'] = 0;
if(!isset($_COOKIE['gameCookie'])){
echo '<script language="javascript">';
echo 'window.location.replace("jeu-de-cheval-jouer.php");';
echo '</script>';
}
$metaKeywords ="jeu de cheval, jeux de chevaux, quiz, cadeau cheval, quizz, jeu, quiz cheval, quizz, cheval, jeu de societe, jeux de société, jeu de société cheval, trivial pursuit, jeux de cheval, trivial pursuit cheval, cadeaux cheval, jeu equestre";
$keywordTirets="jeu-de-cheval";
$keywordLower="jeu de cheval";
$keywordUpper="Jeu de cheval";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...
I took out the whitespace but that doesn't seem to have had any effect
is it a bad idea putting an include inside another include ?