rafi randoni - 2013-01-11 18:00:09 -
In reply to message 1 from Darren Conyard
hi...
I'm sorry cause i haven't write how to used file, but i have upload sample file, and i give it some explanation...
ooh, about the error...
actualy, the class need one more parameter,
it must be like this...
<?php
include "connection.php";
include "autopaging.php";
$page = 1;
if(isset($_GET['page']))
{
$page = $_GET['page'];
}
$paging = new AutoPaging("tb_user", 2, $page);
foreach($paging->getContent() as $row)
{
echo $row['level_kd'];
echo " : ";
echo $row['level_status'];
echo "<br />";
}
echo $paging->getPaging();
?>
Hope it will help you...
And very thanks for try my php class... :D