If i would like to have an age range in my search form.
From: [input] to [input] years, so there you type e.g 18 to 26, how later can i use the fields and sort by a age range, in a query select.
<td>
<input name="MinAge" maxlength="2" id="MinAge" style="width: 40px;" type="text">
</td>
<td style="width: 40px; text-align: center;">
<span id="MinAge_label">years</span> to
</td>
<td>
<input name="MaxAge" maxlength="2" id="MaxAge" style="width: 40px;" type="text"> <span id="MaxAge_label">years</span>
</td>
You don’t “sort” by range… I assume you mean filter?
SQL: