Question: how to get selected value of select box in php?
Answer: php $years = array(); echo "<select name='Year'>"; for ($i = 1900; $i < 2026; $i++){ echo "<option value='$i'>$i</option>"; } echo "</select>"; ?> $year = $_GET['Year'];