Afficher unz Valeur sur autre Page
Posté : 31 mai 2011, 18:55
Bonjour , je voudrais afficher une valeur sur une autre page .
// Voici la page 1
<html>
<head>
</head>
<body>
<form name="tsisy" method="post" action="page2.php"/>
<input type="text" name="atou" ></td>
<input name="valider" value="Ok" type="submit"><br>
<?php
if (isset($_POST['valider']))
{
$atou=$_POST['atou'];
}
?>
</body>
</html>
// Voici la page2 a afficher la valeur
<?php
echo''.$atou.'';
?>
La valeur $atou ne s 'affiche pas ..
Merci a vous de me donner un petit coup de main
// Voici la page 1
<html>
<head>
</head>
<body>
<form name="tsisy" method="post" action="page2.php"/>
<input type="text" name="atou" ></td>
<input name="valider" value="Ok" type="submit"><br>
<?php
if (isset($_POST['valider']))
{
$atou=$_POST['atou'];
}
?>
</body>
</html>
// Voici la page2 a afficher la valeur
<?php
echo''.$atou.'';
?>
La valeur $atou ne s 'affiche pas ..
Merci a vous de me donner un petit coup de main