Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
1. PHP page is displayed containing a number of form elements for a person's name, position, hair color, etc.
2. During page display, a PHP $_SESSION array is set: $_SESSION['TSets'] = array('RegInfo');
Now IF this checkbox is clicked, I need to alter the $_SESSION array shown above from $_SESSION['TSets'] = array('RegInfo'); to $_SESSION['TSets'] = array('RegInfo','CreditCard');
Conversely, if someone has already clicked the check box, then changes their mind and un-clicks it, I need to once again alter the session from $_SESSION['TSets'] = array('RegInfo','CreditCard'); back to simply $_SESSION['TSets'] = array('RegInfo');
Thanks to all in advance,