91st Annual Commodore’s Ball

Saturday, November 21, 2015

Registrations Received

get_results($query);

if($result)
{
foreach($result as $key => $row)
{
$field_number = $row->field_number;
switch($field_number)
{
case 2.3:
$fname = $row->value;
break;
case 2.6:
$lname = $row->value;
break;
case 4.3:
$primerib = $row->value;
if ($primerib == 0) {$primerib = “”;
}
break;
case 5.3:
$salmon = $row->value;
if ($salmon == 0) {$salmon = “”;
}
break;
case 4.3:
$veg = $row->value;
if ($veg == 0) {$veg = “”;
}
break;
case 8:
$attending = $row->value;
break;
case 9:
$pymt = $row->value;
echo “

“;
$primerib = “”;
$salmon = “”;
$veg = “”;
$attending = “”;
break;
default:
break;
}
}
}
?>

Name # Attending Prime Rib Salmon Vegitarian Payment Type
” . $lname . “, ” . $fname . “ ” . $attending . “ ” . $primerib . “ ” . $salmon . “ ” . $veg . “ ” . $pymt . “