All pastes #384046 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-06 20:04 UTC
rendered paste body
if ($Count == $GoodToGo)
{
  array_push($AvailableRegtypes,$row[ID]);
  $result = db_access($MySQL_DB,"SELECT Secondary FROM SecondaryRegTypes WHERE Primary = $RegID");
  while($row = mysql_fetch_array($result))
  {
    array_push($AvailableSecondaryRegtypesS,"$RegID-$row[Secondary]");
    $result2 = db_access($MySQL_DB,"SELECT Secondary FROM SecondaryRegTypes WHERE
    Primary = $row[Secondary]");
    while($row2 = mysql_fetch_array()$result2)
    {
      array_push($AvailableTertiaryRegtypes,"$RegID-$row[Secondary]-$row2[Secondary]");
    }
  }
}