$tag_val) { if (in_array($tag, $NotEmpty) && empty($tag_val)) { $e_subcat[$tag.'_R']=TRUE; } } if (array_key_exists('TYPE_SEQ_R', $e_subcat)) { $e_subcat['CAT_R']=TRUE; } if (!$GoodCat) { $e_subcat['CAT_4']=TRUE; } if (chkSubCat($subcat['TYPE_SEQ'], $subcat['CAT'], $subcat['SUBCAT'])) { $e_subcat['SUBCAT_1']=TRUE; } if (count($e_subcat) != 0) { $Page='subcat_add_ask.php?k='.$Key.'&c='.$subcat['CAT'].'&t='.$subcat['TYPE_SEQ']; } else { $Page='subcat.php?k='.$Key.'&c='.$subcat['CAT'].'&t='.$subcat['TYPE_SEQ'].'&sc='.$subcat['SUBCAT'].'&a=c'; } ?>

Validating Sub-Category Add

'."\n"; echo '