I am trying to use a radio button to distinguish if a query should take into account the condition of searching above or below a certain input as a criteria. Currently, I cannot get the radio button to work as after each time the page is submitted, the button goes blank again. I want the reloaded (submitted) page to remember the choice and show on the page. I'm not sure what I am doing wrong here.
<label>Input
<textarea rows="1" name="input"><?php echo $_POST['input']; ?></textarea>
</label>
<input type="radio" name="Above/Below Value" value="Above" <?php if(isset($_POST["Above/Below Value"]) && $_POST["Above/Below Value"] == "Above") echo "checked='checked'"; ?>><label for="Above/Below Value">Above</label>
<input type="radio" name="Above/Below Value" value="Below" <?php if(isset($_POST["Above/Below Value"]) && $_POST["Above/Below Value"] == "Below") echo "checked='checked'"; ?>><label for="Above/Below Value">Below</label>