All pastes #384021 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-06 19:45 UTC
rendered paste body
                        $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]");
                                }
                        }