0){ $html = ""; while($rowquery = mysqli_fetch_assoc($row1)) { $nameprotcatrec=html_entity_decode($rowquery['name_protectioncategory']); $this_pcat = (isset($rowquery['name_protectioncategory']))? $nameprotcatrec: $_GET['pleaseselectstd']; $this_dpcat = (isset($rowquery['value_dpicategory']))? $rowquery['value_dpicategory']: $_GET['pleaseselectstd']; $html .= ""; } $html .= "
id {$_GET['standardcodetitle']} {$_GET['protectioncategorytitle']} {$_GET['dpicategorytitle']}
{$rowquery['idtrfstandards']} {$rowquery['standardcode']} {$this_pcat} {$this_dpcat}
"; } echo $html; ?>