I have a radio button for each day of the week. when the form is posted only those buttons that are checked are posted. the unposted days are seen as undefined. what is the proper way to test for undefined $_POSTs?
Thank You in advance.
db96s1
[man]isset[/man]
I tried isset and found empty() to work well.
if (!empty($_POST['Sunday'])) { $_SESSION['Sunday'] = 1 ; } else { $_SESSION['Sunday'] = 0 ; }
thanks for the help, i appreciate your effort db96s1
I deleted the prior response because it was wrong. isset is the way to go thanks.