'00000' Order By Student_id Asc"; if (! $Page) $Page = 1; $Pre_Page = $Page - 1; $Next_Page = $Page +1; $Per_Page = 50; $result = mysql_query($strSQL); $Page_start = ($Per_Page*$Page) - $Per_Page; $Num_Rows = mysql_num_rows($result); if( $Num_Rows <= $Per_Page) $Num_Pages = 1; else if (($Num_Rows % $Per_Page) == 0) $Num_Pages = ($Num_Rows / $Per_Page); else $Num_Pages = ($Num_Rows / $Per_Page) + 1; $Num_Pages = (int)$Num_Pages; if (( $Page > $Num_Pages) || ($Page < 0)) echo"Page $Page More than $Num_Pages"; $strSQL .=" LIMIT $Page_start,$Per_Page" ; $result = mysql_query($strSQL); /////////////////////////////////////////////////////////////////////////////////// $num = mysql_num_rows( $result ); //$count = 0; ?>
¢éÍÁÙŹѡÈÖ¡ÉÒ·ÕèÃѺ·Ø¹¡ÒÃÈÖ¡ÉÒ |
|||||
No. | ËÅÑ¡Êٵà | »ÃÐàÀ··Ø¹ | ÃËÑÊ | ª×èÍ-¹ÒÁÊ¡ØÅ | ÍÒ¨ÒÃÂì·Õè»ÃÖ¡ÉÒ |
=$i?> | =$row["Student_id"]?> |
|
" title="Click to see Detail" class="d"> Í. " title="Click to see Detail" class="d"> | ||
=$i?> | =$row["Student_id"]?> |
|
" title="Click to see Detail" class="d"> Í. " title="Click to see Detail" class="d"> | ||
·Ñé§ËÁ´
echo $num ?> ËÑÇ¢éÍ |
"; echo"\n"; echo"