I have made a little system where SQL gets the first 5 games based on ranking. Now I want to use them freely with PHP. So the best way to do that imo is to give them each a value
$one = first result $two = second result etc.
but I can only get them all together. How do i split them up and use them freely?
<?php
$RankSql = 'SELECT *
FROM games
WHERE Genre LIKE "%'.$Genre.'%"
ORDER BY Score DESC limit 5';
$Rankresult = mysql_query($RankSql);
while ($RankOrder = mysql_fetch_array($Rankresult))
{
echo $RankOrder['Game'] . '<br>';
};
?>