- 1
- 2
- 3
- 4
- 5
- 6
// Validate that numrical values exist for either Children or Adults and that either/or have a value of 1 or more
if (is_numric($_SESSION['f_adults']) and $_SESSION['f_adults'] >0 or is_numric($_SESSION['f_children']) and $_SESSION['f_children'] >0) {
$_SESSION['valid_amount'] = true;
} else {
$_SESSION['valid_amount'] = false;
}
Lure Of Chaos 13.10.2013 02:00 # 0