Posted by ELINTPimp on 08/21/07 20:11
On Aug 21, 3:48 pm, GarryJones <mor...@algonet.se> wrote:
> In a php session I have set up a user can input several hundred values
> on a form.
>
> I then show the user what he or she has entered on a preview page
> which he or she can then click ok or cancel.
>
> On clicking cancel the user should be backed using this code
>
> <td>
> <div align="center">
> <input type="Submit" value = "Continue">
>
> <input type="button" value="Cancel" onClick="history.back()">
> </div>
> </td>
>
> I have used this before at it worked. However it now returns the user
> to the previous page (form entry), but now all the values are empty.
> Annoying if the user just made one simple mistake in the several
> hundred entries they wanted to correct.
>
> Any ideas what I am doing wrong?
>
> Any other tricks to acheive this?
>
> Garry Jones
> Sweden
Do you have session_start() on top of both pages?
Post a snippit of offending HTML code of the form entry page, for now,
please.
[Back to original message]
|