Remove Sub-Category

'.$SubCatDesc; ?>

0 and type_seq="'.$TypeSeq.'" and cat="'.$Cat.'" and sub_cat="'.$SubCat.'"'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); $Likes=($cnt_row[0] > 0); $query='select count(*) from style_prefs where rank<0 and type_seq="'.$TypeSeq.'" and cat="'.$Cat.'" and sub_cat="'.$SubCat.'"'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); $Dislikes=($cnt_row[0] > 0); if ($Likes || $Dislikes) { echo 'Sub-Category '.$Cat.$SubCat.' is used for Judge/Steward '.($Likes ? 'Likes' : '').($Likes && $Dislikes ? ' and ' : '').($Dislikes ? 'Dislikes' : '').'
'."\n"; echo 'These will be removed if the Sub-Category is removed
'."\n"; echo '
'."\n"; } ?>