Unexpected T_STRING in index2.php on line 11

Résolu/Fermé
super daddy - 7 mars 2011 à 17:38
 super daddy - 7 mars 2011 à 19:07
Bonjour, Merci à qui pourra m'aider

J'essaie d'inclure un menu variable dans une page en html

La page réduite au min:
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>index 2</title>
</head>
<body>
<br>
<?php include (« menuinc.html ») ;?>
<br>
</body>
</html>

Minuinc.html :
<html>
<head>
<meta id="_moz_html_fragment">
</head>
<body>
<ul style="font-weight: bold;">
<a href="index.php">Que choisir?</a>  
<a href="TailleReso.php">Technique</a>  
<a href="lcd.php">LCD</a>  
<a href="Plasma.php">Plasma</a>  
<a href="mailto:webmaster@tout-pas-cher.info">Contact</a>
</ul>
</body>
</html>

Resultat sur fire fox:
Parse error: syntax error, unexpected T_STRING in index2.php on line 11

Pouvez-vous me dire où est l'erreur et que faire?


A voir également:

2 réponses

Stéphane18 Messages postés 372 Date d'inscription jeudi 3 mars 2011 Statut Membre Dernière intervention 20 février 2019 132
7 mars 2011 à 18:08
Salut, change tes « » par " "

<?php include("menu.php"); ?>
1
Merci Stéphane 18
Maintenant ça marche
0