In this code:

$Sql = "select * from $TableName where BankID>=1 order by Date DESC";
$Result = mysql_query($Sql);
while ($Row = mysql_fetch_array($Result))
{
echo "$Row[Member]";
}

it will print all member.

How can I let it print 5 recodrs only. from recode 1 to 5?
How can I let it print 5 recodrs only. from recode 6 to 10?
How can I print the last 3 recodrs, if I do not know the number of records?