Loopa ut innehåll ur databas | PHP

Loopa ut innehåll ur databas | PHP

$result = mysql_query(“SELECT * FROM members ORDER BY name DESC”);
while ($r = mysql_fetch_array($result))
{
echo($r[‘name’]);