if(!$_GET[limit]){$_GET[limit]=1;}
if($_REQUEST[param] && $_REQUEST[search]):
$cond=$_REQUEST[param] . " rlike '" . $_REQUEST[search] . "'";
endif;
if($cond){$cond2=" where " . $cond;}
$r=mysql_query("select count(*) as total from " . $prev . "user where status='Y' order by name asc " . $cond2);
$total=@mysql_result($r,0,"total");
if(!$total):
echo"No Record Found | ";
endif;
//$r=mysql_query("select * from " . $prev . "user " . $cond2 . " limit " . ($_GET['limit']-1)*5 . ",5");
?>
$i=0;
$q=mysql_query("select * from " . $prev . "user where status='Y' order by name asc " . $cond2 . " limit " . ($_GET['limit']-1)*6 . ",6");
while($d=@mysql_fetch_array($q)){
$i++;
?>
}?>
|
Paul
Armstrong Smash Repairs is the best in the
industry setting a trend in the smash repair
business. We love all types of crash in the good
sense of course and we have the experience to
back it up due to our 30 plus years of
experience.
|
if($total>6):?>
|