guys. I have the following script
<?php
$result = mysql_query("SELECT * FROM players") or die(mysql_error());
echo "<table class=\"table table-bordered table-hover\" border='1' cellpadding='10'>";
echo "<tr> <th>ID</th> <th>Place</th> <th>Name</th> <th>Points</th> <th></th> <th></th></tr>";
// loop through results of database query, displaying them in the table
while($row = mysql_fetch_array( $result )) {
// echo out the contents of each row into a table
echo "<tr>";
echo '<td>' . $row['id'] . '</td>';
echo '<td>' . $row['place'] . '</td>';
echo '<td>' . $row['name'] . '</td>';
echo '<td>' . $row['points'] . '</td>';
echo '<td><a href="wtawomenedit.php?id=' . $row['id'] . '">Edit</a></td>';
echo '<td><a href="deleter.php?id=' . $row['id'] . '">Delete</a></td>';
echo "</tr>";
}
// close table>
echo "</table>";
?>
This script is showing all the content from the MySQL table, but the rows are mixed, and as I'm using it for a rang list, I would like to show the rows, filtered by points. The row with the higher point to be first and so on. Thank you in advance, I've not done something. like that before, so I've got no idea, how to make it work.