Kак взять текст в select option?
<form method = "post">
<div class="form-group">
<label for="countryName">Company type</label>
<select class="form-control" id="countryName" name="countryName">
<option value="1">Russia</option>
<option value="2">United States</option>
<option value="3">United Kingdom</option>
</select>
</div>
<button type="submit" name="companyRegister" class="btn btn-default">Register </button>
</form>
<?php
if(isset($_POST['companyRegister'])){
$countryName = $_POST['countryName'];
echo $countryName;
}
?>