Bonjour j'ai 3 pages: page1.php, page2.php et page3.php.
La page1 contient:
$toto = "hello";
La page2 contient:
<?php
include_once("page1.php");
echo $toto;
include_once("page3.php");
?>
La page3 contient:
$toto
Mon problème c'est que la page3 n'affiche pas "hello" mais $toto. Meme quand je fais echo $toto.
Quelqu'un saurait-il?