CheckCache($_SERVER['REQUEST_URI']); //$result = TableQuery("GeographicRegion", $EHDBConn, "*", array(), false, array("Name" => "ASC")); $result = db::execute("SELECT * FROM `geographicregion` ORDER BY Name ASC;","apgrator_ehdb"); $countryList = ""; while($row = mysqli_fetch_assoc($result)) $countryList .= ''; //var_dump($_SESSION['Store']); $contentText = ''; $gender_select_default = array('',''); $age_select_default = array('','',''); if(!empty($_SESSION['Store'])){ if($_SESSION['Store']['Gender'] == "Female"){ $gender_select_default = array('',' selected'); $contentText .= ''; }else if($_SESSION['Store']['Gender'] == "Male"){ $gender_select_default = array(' selected',''); $contentText .= ''; } if($_SESSION['Store']['Age'] == "A"){ $age_select_default[2] = " selected"; $contentText .= ''; }else if($_SESSION['Store']['Age'] == "C"){ $age_select_default[1] = " selected"; $contentText .= ''; }else if($_SESSION['Store']['Age'] == "I"){ $age_select_default[0] = " selected"; $contentText .= ''; } } $contentText .= '
|