Member Yachts bug

Note that this list may not include all member yachts, where they have chosen to be excluded.

0) { //filter for yacht name being present
if (strtotime(str_replace(“/”,”-“,$memberfields[“RenewedDate”])) >= $earliestrenewaldate) { //filter renewed date
$yachts[] = (array($memberfields[“Yacht Name”],$memberfields[“SailNo”],$memberfields[“Fleet”],$memberfields[“Yacht Class”],$memberfields[“MMSI”],$nametoget,$memberfields[“RegisteredBoat”])); // load the yacht info into the array $yachts
}}}
}
sort($yachts); //sort to alphabetical order
$recordscount=count($yachts);
$count=0;
do {
if ($yachts[$count][6]==”Yes”) {?>

” . $yachts[$count][0] . “
Sail No. ” . $yachts[$count][1] . “
Fleet: ” . $yachts[$count][2] . “
Class: “. $yachts[$count][3]. “
“. $yachts[$count][5];
while (($count < $recordscount) && (($yachts[$count][0] == $yachts[$count+1][0]) or ($yachts[$count][0] . "+" == $yachts[$count+1][0]))) { echo " / ". $yachts[$count+1][5]; $count = $count + 1; } echo "

“;
$boatphoto = “C:/Inetpub/vhosts/ccrc.co.uk/httpdocs/wp-content/uploads/” . str_replace(” “,”-“,str_replace(“+”, “”, $yachts[$count][0])) . “.jpg”;
$boatphoto_url = “https://www.ccrc.co.uk/wp-content/uploads/” . str_replace(” “,”-“,str_replace(“+”, “”, $yachts[$count][0])) . “.jpg”;
if (file_exists($boatphoto)) {
?>

“Member Name”, “fieldValue”=>$theName);
$members = $dutyMan->getMembersWithFields(array($memberNameField), “name”, true);
return $members;
}
?>