Hi,
I'm passing a value to a page using page.php?value=1 you then fill in a form on this page and submit it, data is then entered into a database. So I have to register the session using session_register('value');
However if I then go to page page.php?value=2 value is not re-registered, I put session_destroy(); at the top of the page, but it doesn't seem to remove the previous value. And session_unregister('value'); didn't seem to work either. If I don't register the value and submit it to the database, I get an error because value is not being passed.
Can anyone help?
Cheers
Ben