Hello, I need a help to sorting data from php table by using a dropdown menu..
The table is reservations and im going to sort the reserve_Date where when I click the reserve Date then the data will be display..
Can someone help me?

This the code form dropdown menu
<form action='reservationDate.php' method='post' >
<select name="date">
<option value="sortbyDate" selected="selected">Sort by Date: </option>
<option value="reserve_Date">Reserve Date</option>
<input type="submit" value='submit' />

If you are using sql to sort the data it would look something like this.

$sql = "SELECT * FROM reservations ORDER BY date ASC";
$sql = "SELECT * FROM reservation ORDER BY reserve_date ASC";