"; $h = new land_ops; //$d['landID']='a_land_ID'; //$d['userID']=6; //$n=$h->insertLand2BuyData($d); // echo "the insertion value= ".$n; //$q = $h->checkExistance('email','ahmed_salama@aast.edu','users'); //echo $q; // ---------------------------------- $x['areaName'] = -1; $x['landType'] = -1; $x['areaFrom'] = 0; $x['areaTo'] = 100000; $x['priceFrom']= 0; $x['priceTo'] = 1000000; $x['extraFrom']= -1; $x['extraTo'] = -1; $x['increaseFrom']= -1; $x['increaseTo']= -1; $x['paidFrom']= -1; $x['paidTo']= -1; $re = $h->searchLands($x); echo mysql_num_rows($re); //echo $re; ?>