Codice PHP:
$sql "SELECT id,nick FROM tabella
ORDER BY id ASC LIMIT 0,1"
;
$res mysql_query($sql) or die (mysql_error());

while(
$row mysql_fetch_array($res))
{
  echo 
$row['id'].'
'
;
  echo 
$row['nick'].'';

su per giù così