Thanks for any help. Even if I remove the specific default value for the
text input, only the first posted value seems to be accepted and stays
regardless of whether I change it :(

test10.php
-----------

<?php session_register("test");?>

<body>
<a href="test11.php">NEXT</a>
</body>


test11.php
-----------
<?php session_start();?>

<body>
<form name="form1" id="form1" method="post" action="test12.php">
  <input name="test" type="text" value="<?php echo $test;?>"/>
  <input type="submit" name="Submit" value="Submit" />
</form>

test12.php
-----------
<?php session_start();?>

<body>
<?php echo "HELLO: ".$test ; ?>
<p><a href="test11.php">START OVER</a> </p>
</body>


"Paul" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I figured out my problem but I am not sure why this is.
>
>
>
> I am trying to implement a back button to allow the user to go back and
> change form values.
>
>
>
> If I use sessions and register $test then this does not work, the value of
> $test does not change if the user re-submits:
>
>
>
> <input name="test" type="text" value="<?php echo $test;?>"/>
>
>
>
> Thanks for any help!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to