I have tried your suggestion but without success. Here the example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<?php
session_start();
echo "<form name=\"aaaa\" method=\"post\" action=\"order_test.php\">";
?>
your name : <br/>
<input type="text" name="name" value="<?php echo (!empty($_SESSION["name"]) ? htmlspecialchars($_SESSION["name"]):"" ) ; ?>" />
<p>
your text :
<br />
<textarea cols="60" rows="6"> <?PHP echo $_SESSION['text']; ?></textarea>
</p>
<p>
<input type="submit" name="submit" value="send" />
</p>
</body>
</html>
And the reply script, order_test.php:
<?php
session_start();
$_SESSION['name'] = $_POST['name'];
$_SESSION['text'] = $_POST['text'];
?>
<?php
$name= $_POST['name'];
$text= $_POST['text'];
print " your name: $name</br><br />";
print "your message: $text ";
?>
<input type="submit" name="submit" style="background-color:#FF0000" value=" I change my text" onClick="location.href='order_form_test.php'">
The text is not parsed to the script, only the name. Why? How should the script look like? Thank you