hola NJCalvo gracias por tu respuesta pero me da el siguiente error:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\members\list.php on line 220
Cita: <?php
include "config.php";
mysql_connect($server, $db_user, $db_pass) or die (mysql_error());
$result = mysql_db_query($database, "select * from $table order by id desc") or die (mysql_error());
if (mysql_num_rows($result)) {
echo "<h4>Registered Members:</h4>";
while ($qry = mysql_fetch_array($result)) {
echo "<h6><div class='listContainer'><img src='$qry[avatar]' width='150' height='150' alt='$qry[username]Avatar' /><div class='listContainerTxt'><b></b><h2><a href="perfil.php?usuario=$qry[username]">$qry[username]</a></h2><b>Website:</b> <a href='$qry[website]' target='_blank'>$qry[website]</a></div></div></p></h6>";
}
}
?>