Stuff
public text v1 · immutable $AvailableSecondaryRegtypes = array();
while (list($key, $RegID) = each ($AvailableRegtypes))
{
$result = db_access($MySQL_DB,"SELECT Secondary FROM SecondaryRegTypes WHERE Primary = $RegID");
while($row = mysql_fetch_array($result))
{
array_push($AvailableSecondaryRegtypesS,"$RegID - $row[Secondary]");
}
}