<?php $result = mysql_query($sql); $page=new Page(); $page->set_page_data('',mysql_num_rows($result),10,0,true,false,false); $page->set_qry_string("module=admin&fileName=Community_Report"); $sql = $page->get_limit_query($sql); ?>