3rd Annual Bornstein-Allsop Salmon BBQ Fundraiser

October 17, 2015

Registrations Received

get_results($query);

if($result)
{
// while ($row = Mysql_fetch_array($result))
// while ($row = mysqli_fetch_array($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:
$adult = $row->value;
break;
case 9:
$pymt = $row->value;
break;
case 20.3:
$youth = $row->value;
break;
case 21:
$attending = $row->value;
echo “

“;

$fname=””;
$lname=””;
$adult=””;
$pymt=””;
$youth=””;
$attending=””;
break;
default:
break;
}
}
}
?>

Name Adult Dinners Youth Dinners Payment Type
” . $fname . ” ” . $lname . “ ” . $adult . “ ” . $youth . “ ” . $pymt . “