voici mes deux script
<html>
<head>
<title> Listing 1.4 </title>
</head>
<body>
<form ACTION="listing 1.5.php" Method="post">
Your name:
<input type="text" name="YourName"><BR>
Cost of a Lunch:
<input type="text" name="CostOfLunch"><BR>
Days Buying Lunch :
<input type="text" name="DaysBuyingLunch"><BR>
<input type="submit" name="x" value="compute">
</form>
</body>
</html>
et le second
<?
$Today = date("l F d, Y");
?>
<html>
<head>
<title> Listing 1.5 </title>
</head>
<body>
Today's Date:
<?
/*
** print today's date
*/
print("<H3>$Today</H3>\n");
/*
** print message about lunch cost
*/
print("$YourName, you will be out ");
print($CostOfLunch * $DaysBuyingLunch);
print(" dollars this week.<BR>\n");
?>
</body>
</html>
Mon pb est que la deuxième page ne traite pas les variable du premier listing ou les variable ne sont pas sauvegardées.
Merci d'avance