Hi,
I have set up 2 php pages
page 1 - add_entry2.php
In this page I have a invoice table created where I can dynamically add/delete rows. This has a View Bill button which takes me to page 2- add_entry3.php
In this page it shows up the rows added in page 1 in read only format, so if the user wants to modify the data that he/she entered then he must Click on <back> that i have provided in the page 2 which will direct him to page 1
Now the problem starts here
on click of Back the dynamically added row retain values if I use the code
<form action="add_entry2.php" name="eval_edit" method="post" format="html">
i,e if I submit back to the same page and retrieve values form $_POST
but If I use the code
<input type="button" value="Back" onClick="history.go(-1);return true;">
to get back to add_entry2.ph it looses all the values. Is there any other way to code the BACK link retaining my $POST values(Do you think $SESSION would work in this case?)