ما شاء الله اشتغلت معاك مبروك يا عم 
هذه الدالة لتقسيم النتائج حسب الصفحات مثل ما طلبت
كود PHP:
$DB['Host'] = 'localhost';
$DB['User'] = 'da3ya';
$DB['Pass'] = '******';
$DB['Name'] = 'da3ya_php';
// Connect Whih DataBase :
MySQL_Connect($DB['Host'],$DB['User'],$DB['Pass'])
Or Die(MySQL_Error());
MySQL_Select_DB($DB['Name'])
Or Die(MySQL_Error());
// سيتم عرض 25 نتيجة في كل صفحة
$npage = 25;
$query = "SELECT * FROM dre_pages ORDER BY id";
$pg = $_GET['go'];
if ($pg == "") {
$pg = $npage;
}
elseif (!is_numeric ($pg)) {
$pg = $npage;
}
$total = $pg;
$limit = "0, $total";
$count = 1;
$v_sql = mysql_query ("$query") or die ("ÎØÇÁ: $v_sql".mysql_error());
$all_pages = ceil (mysql_num_rows($v_sql) / $total);
$v_offset = $_GET['offset'];
if (get_magic_quotes_gpc() == 0) {
$v_offset = addslashes ($v_offset);
}
if (!is_numeric ($v_offset)) {
$v_offset = 1;
}
if ($v_offset > $all_pages) {
$v_offset = 1;
}
if ($v_offset == "1") {
$limit = "0, $total";
}
elseif ($v_offset <> "") {
for ($i = 0; $i <= ($v_offset - 1) * $total; $i ++) {
$limit = "$i, $total";
$count = $i + 1;
}
}
$sql = mysql_query ("$query LIMIT $limit") or die ("خطأ في : $sql".mysql_error());
while ($row = mysql_fetch_object($sql)) {
echo "$count. <a href=\"$row->url\">$row->value</a><br />\r\n";
$count += 1;
}
echo "<br /><br />\r\n";
if ($v_offset <> 1) {
$prev = $v_offset - 1;
echo "[ < <a href=\"?offset=$prev&go=$pg\">السابق</a> ] \r\n";
}
for ($i = 1; $i <= $all_pages; $i ++) {
if ($i == $v_offset) {
echo "[<b> $i </b>] \r\n";
} else {
echo "[ <a href=\"?offset=$i&go=$pg\">$i</a> ] \r\n";
}
}
if ($v_offset < $all_pages) {
$next = $v_offset + 1;
echo "[ <a href=\"?offset=$next&go=$pg\">التالي</a> > ] \r\n";
}
echo "<br><br>\r\n";
echo "الصفحة $v_offset من $all_pages<br />\r\n";