2,3c2 < require_once('../Geographicals/place_latlong.php'); < // Great Circle Distance calculation from RJM Programming --- > // Great Circe Distance calculation from RJM Programming 23,27c22 < $questionchange = "?"; < $fromselectedchangefrom = "youllneverfindthis"; < $fromselectedchangeto = "youllneverfindthis"; < $toselectedchangefrom = "youllneverfindthis"; < $toselectedchangeto = "youllneverfindthis"; --- > 54,92d48 < if (isset($_GET['fromlatd'])) { < $fromselectedchangefrom = '&fromplace=' . $_GET['fromplace'] . '"'; < $fromselectedchangeto = $fromselectedchangefrom . ' selected="selected"'; < if (!isset($_GET['latd'])) { < $questionchange = "?fromplace=" . $_GET['fromplace']; < $questionchange .= "&fromlatd=" . $_GET['fromlatd']; < $questionchange .= "&fromlatm=" . $_GET['fromlatm']; < $questionchange .= "&fromlats=" . $_GET['fromlats']; < $questionchange .= "&fromlongd=" . $_GET['fromlongd']; < $questionchange .= "&fromlongm=" . $_GET['fromlongm']; < $questionchange .= "&fromlongs=" . $_GET['fromlongs']; < $questionchange .= "&fromcountry=" . $_GET['country']; < $questionchange .= "&"; < } < } else if (isset($_POST['fromlatd'])) { < $fromselectedchangefrom = '&fromplace=' . $_POST['fromplace'] . '"'; < $fromselectedchangeto = $fromselectedchangefrom . ' selected="selected"'; < if (!isset($_POST['latd'])) { < $questionchange = "?fromplace=" . $_POST['fromplace']; < $questionchange .= "&fromlatd=" . $_POST['fromlatd']; < $questionchange .= "&fromlatm=" . $_POST['fromlatm']; < $questionchange .= "&fromlats=" . $_POST['fromlats']; < $questionchange .= "&fromlongd=" . $_POST['fromlongd']; < $questionchange .= "&fromlongm=" . $_POST['fromlongm']; < $questionchange .= "&fromlongs=" . $_POST['fromlongs']; < $questionchange .= "&fromcountry=" . $_POST['country']; < $questionchange .= "&"; < } < } < < if (isset($_GET['place'])) { < $toselectedchangefrom = '&place=' . $_GET['place'] . '"'; < $toselectedchangeto = $toselectedchangefrom . ' selected="selected"'; < } else if (isset($_POST['place'])) { < $toselectedchangefrom = '&place=' . $_POST['place'] . '"'; < $toselectedchangeto = $toselectedchangefrom . ' selected="selected"'; < } < < 352,353c308,309 <