0) {
// RESET COUNTER
$epcCatCount = 0;
while (list($key, $epcValue) = each($epcCat)) {
if ($epcValue!="") {
$epcCategoryHolder[$epcCatCount] = $epcValue;
$epcCatCount++;
}
}
}
// SHOW CATEGORY
$epcValue = $epcCategoryHolder[0];
$epcCatFull = explode("|",$epcValue);
// SET CATEGORY NAMES
$epcCatNameSet = $epcCatFull[1];
$epcCatNameSet = explode("[",$epcCatNameSet);
$epcCategoryNames[$epcCatNameSet[1]] = $epcCatNameSet[0];
// DISPLAY CATEGORY NAME
//echo $epcCatNameSet[0].": ";
// SHORTEN SELECTIONS ARRAY
array_shift($epcCatFull);
array_shift($epcCatFull);
// SORT SELECTIONS
asort($epcCatFull);
reset($epcCatFull);
// SHOW DROP DOWN FORM
?>
|
|