Yes it is (if I understand correctly what you want to do). You have a few errors in your form and you have 2 identically named input objects for both long and lat degs & mins.
Have a look at the following examples, please note that you cannot copy and paste this directly into your code and make it work:
The form simplified
<FORM METHOD="POST" ACTION="cords.php">
<p>
<select name="cordv">
<option value="N" selected="selected">N</option>
<option value="S">S</option>
</select>
Latitude: <input name="lat_deg" value="00" maxlength="3" size="3" type="text"> °
<input name="lat_min" value="00.000" maxlength="10" size="6" type="text"> '
</p>
<p>
<select name="cordh">
<option selected="selected" value="W">W</option>
<option value="E">E</option>
</select>
Longitude: <input name="long_deg" value="000" maxlength="3" size="3" type="text"> °
<input name="long_min" value="00.000" maxlength="10" size="6" type="text"> '
</p>
<input value="Submit" name="Submit" type="submit">
</form>
A snippet of some php code:
//checking if the button has been pressed this is not enough to secure this form
//better add more checking for correctly formatted values and if all variables has been set
if(isset($_POST['Submit']))//yup someone pressed the submit button!
{
//concatenating $lat variable with info from the form
$lat = $_POST['cordv'];
$lat .= $_POST['lat_deg'];
$lat .= $_POST['lat_min'];
//concatenating $long variable with info from the form
$long = $_POST['cordh'];
$long .= $_POST['long_deg'];
$long .= $_POST['long_min'];
$query = "INSERT INTO cords VALUES ('','$lat','$long')";
echo $query;//echo it to screen and check if it looks ok
//<snip> mysqlcode insert thingy
}
else//no submit button pressed
{
//panic
}
Note that there are now two differenctly named input fields for long and lat.
Hope this will get you back on track