|
-
May 7th, 2002, 05:46 PM
#1
Thread Starter
Hyperactive Member
MySql (do not echo all)
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|