[],
"url" => [],
"isocountrycode" => [],
"unitID" => [],
"institutioncode" => [],
"kindofunit" => [],
"country" => [],
"collectioncode" => [] ,
"collectors" => [],
"collectornumber" => [],
"gatheringyear" => [],
"biodatasourcename" =>[],
"tripleidstoreid"=>[],
"guid"=>[]
);
foreach($docs as $doc) {
if ($doc->fullScientificName == "" || $doc->fullScientificName == "N/A" ) {
if ($doc->familia != "" && $doc->familia != "N/A") {
$value = ucfirst(strtolower($doc->familia));
} else {
if ($doc->ordo != "" && $doc->ordo != "N/A") {
$value = $doc->ordo;
} else {
if ($doc->classis != "" && $doc->classis != "N/A") {
$value = $doc->classis;
} else {
if ($doc->phylum != "" && $doc->phylum != "N/A") {
$value = $doc->phylum;
} else {
if ($doc->regnum != "" && $doc->regnum != "N/A") {
$value = $doc->regnum;
} else
$value = "no identification";
}
}
}
}
array_push ( $content_array ["value"], $value );
} else {
$value = $doc->fullScientificName;
array_push ( $content_array ["value"], $value );
}
//array_push ( $content_array ["isocountrycode"], $doc->isocountrycode );
array_push ( $content_array ["country"], $doc->country );
if ($doc->gatheringyear == "" || $doc->gatheringyear == "N/A" ) {
$gatheringyear = "";
}
else { $gatheringyear = $doc->gatheringyear; }
array_push ( $content_array ["gatheringyear"], $gatheringyear );
} ?>
Scientific Name | Country | Year(s) | gDNA | eDNA | Tissue | Specimen | Culture | eSample |
" . $content_array ["value"] [$i] . " | ";
//echo "" . $content_array ["isocountrycode"] [$i] . " | ";
echo "". $content_array ["country"] [$i] . " | ";
echo "". $content_array ["gatheringyear"] [$i] ." | ";
echo "";
}
?>