List Of Synonyms

Swiss Orchid Foundation at the Herbarium Jany Renz - https://orchid.unibas.ch


$ch"); } ?>
"); } $strCls = ($i % 2) ? "even" : "odd"; echo (""); echo (str_replace ( "&", "&", getPlantNameHTML ($row, "Syn"))); // C.Horisberger replace & with & for XHTML validity echo ("="); echo (str_replace ( "&", "&", getPlantNameHTML ($row, "Curr"))); // C.Horisberger replace & with & for XHTML validity echo ("\n"); $i++; } if (!$empty) // set table end tag only if not empty, because empty tables are not XHTML 1.0 valid { echo(""); } ?> selectFont ("./fonts/Times-Roman.afm"); $pdf->ezText ("List of Synonyms", 24); $pdf->ezText ("(Swiss Orchid Foundation at the Herbarium Jany Renz - orchid.unibas.ch)", 12); $strCurrentChar = ""; while ($row = mysql_fetch_assoc ($res)) { if (substr ($row["GenusSyn"], 0, 1) != $strCurrentChar) { $strCurrentChar = substr ($row["GenusSyn"], 0, 1); $pdf->ezText ("", 12); $pdf->ezText ("$strCurrentChar", 12); } $pdf->ezText (getPlantNamePDF ($row, "Syn") . " = " . getPlantNamePDF ($row, "Curr"), 10); } header ("Content-type: application/pdf"); $pdf->ezStream (); break; default: echo ("This format ('$_REQUEST[format]') is not supported.
View as HTML"); break; } mysql_free_result ($res); ?>