prepare("select * from stall_details where(market = '$mak')") ; $getstall->execute() ; $scount = $getstall->rowcount() ; } ?>