to all guru
how can we do pagination using the array not in table
eg.
$totalitems=array(1,2,3,4,5,56,6,7,8,8,9,44,123,856,343); $per_page=5; $totalpage=ceil(count($totalitems))/$per_page);
how can i display each in per page??
The same way; once you've got the data it doesn't matter where it came from. Presumably you know what page is being asked for, and how many items are being shown in each page. That gives you all the information you need to know which elements of the array need to be displayed.