Et comment je dois faire alors ? Car j´ai essayer avec SubEthaEdit (éditeur de site).
J´ai introduit ce code (copier-coller du site du zéro XD):
http://img141.imageshack.us/img141/9374/codehtmletphp4cj.jpg
soit:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>Notre première instruction : echo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<h2>Affichage de texte avec PHP</h2>
<p>
Cette ligne a été écrite entièrement en (x)HTML.<br />
<?php echo "Celle-ci a été écrite entièrement en PHP."; ?>
</p>
</body>
Mais quand je fais une aperçu, il y ça qui apparait:
http://img450.imageshack.ck.us/img450/5193/aperu6ib.jpg
"Affichage de texte avec PHP". Ce qui veut dire qu´il peut pas décoder le php.
Il faut que je fasse quoi ??
Merci !
</html>