I have link and I receive number like:
$reactivationnum=$_GET[‘number’];
from link which is sent per e-mail to user:
$contactLink2 = ‘<a href=”http://www….notifification.php?number=’.$reactivationnum.'”>
I have problem that on page is form and when user submits form it will be example error in the fields. How to store $reactivationnum when there is
code in form like <form action=”<?php echo $PHP_SELF; ?>” method=”post” >
After there is shown error it will not be longer correct link
<a href=”http://www….notifification.php?number=’.$reactivationnum.
It will be just notification.php without number.
I would like that it is stored value for number. How to do it because
$reactivationnum is reference to get values for user. If user made mistake it will no longer be $_GET[‘number’] and variable $reactivationnum will be wrong
Beacuse this is code for activation account, I would like to do it with session ID (user can go only once on this link, but if he made mistake in form it will not show him error page and just error message)
Need help. ?