Reply to Re: php session failure

Your name:

Reply:


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">
> &nbsp;
> <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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация