Je m'initie au php via un un bouquin initulé " php5", titre laconique...
M'enfin bref, voilà :
J'ai crée mon site web: http://www.lefelinherbivore.com .
On a la possibilité de "switcher" entre différents design...
Pour ce faire j'ai suivi un tutoriel.
Tout est ok, ça switch bien... seulement le code n'est reconnu comme standard du w3c.
J'ai trois erreurs :
1)
Code : Tout sélectionner
cannot generate system identifier for general entity "redirection".
...="../../php/switch.php?style=lefelin&redirection=http://lefelinherbivore.com/
Code : Tout sélectionner
general entity "redirection" not defined and no default entity.
...="../../php/switch.php?style=lefelin&redirection=http://lefelinherbivore.com/
Code : Tout sélectionner
reference to entity "redirection" for which no system identifier could be generated.
.../switch.php?style=lefelin&redirection=http://lefelinherbivore.com/pages/niv_1
Code : Tout sélectionner
<link rel="stylesheet" type="text/css" media="screen" title="Style de l'utilisateur" href="../../css/<?php echo (isset($_COOKIE['feuilleStyle'])) ? $_COOKIE['feuilleStyle'] : 'art2' ; ?>.css" />
-) Merci !