![]() |
clearing memory
ive got some php code created by a friend for me, it basically goes through 5 stages where the user can select different options. The 4th stage is a quote, but once ive filled it in and then go onto another page in the site, then go back and fill it all in differently it keeps the same information from before. Hence, producing an incorrect quote.
Is it easy to clear the the quote after each time the user goes off the page. The one problem i can see so far is that there is back and next buttons to go between the different stages, so i dont want the user to click back then next and the quote to have been cleared. Hope this makes sense, Can anyone help? Cheers |
What? Could we see the script, maybe that will bring some light to what you are trying to do.
|
here it is, quite long winded im afraid
PHP Code:
|
Instead of trying to unset the session data, have you tried setting each variable to NULL or ''?
|
| All times are GMT. The time now is 07:28 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0