![]() |
|
|
+ Search |
![]()
|
Mar 10th, 2006 08:56
Praveen Kumar Kukkapalli, Evan Kaminer,
Using pagination..
You can send pagenumber along with the page URL, then you can limit the
number based on the page number....
Example if you want to show 20 entries per page then first
if($page>1)
{
$start = ($page-1)*20;
}
else
{
$start = 0;
}
$sql = "SELECT * FROM $table LIMIT $start, 20";