&nbsp;&nbsp;Select records per page&nbsp;&nbsp;
<select name="per_page" onChange="set_page_limit(this.value);" >
<option value=""> Select </option>
<? for($j=1;$j<=100;$j++){ // ?>
<option value="<?=$j;?>" <? if($j==$_SESSION['per_page']) echo 'selected'; ?> > <?=$j;?></option>
<? }?>
</select>
<script type="text/javascript">
function set_page_limit(records){
window.location		=	"<?=$file_name?>?per_page="+records+"<?=$next_page_condition?>";
}
</script>