$sql = "select * from addnotebook where (brand_id like '%".$_POST['brand_id']."%')and (cpu like '%".$_POST['cpu']."%')and (typework_id like '%".$_POST['typework_id']."%')and (price like '%".$_POST['price']."%')";
$result=mysql_query($sql) or die (mysql_error());
$totalrecord = mysql_num_rows($result);
$sql = "select * from addnotebook where (brand_id like '%".$_POST["brand_id"]."%')and (cpu like '%".$_POST["cpu"]."%')and (typework_id like '%".$_POST["typework_id"]."%')and (price like '%".$_POST['price']."%')";
$result = mysql_query($sql. " LIMIT " . $limit_start. "," . $limit_end);
$count = mysql_num_rows($result);
$total = mysql_num_rows(mysql_query($sql));
if($total > 0){
echo"<table>";
}
echo $hwel;
$count=0;
while($row=mysql_fetch_array($result))
{
if($count==0)
{
?>