Source for file searchHiTaxSubfam2.php
Documentation is available at searchHiTaxSubfam2.php
* Suggestion List for sptool/inputspecimen, sptool/inputmixedspecimen
* @author Gabriele Droege, DNA Bank Network <contact@dnabank-network.org>
* @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org<br>The contents of this file are subject to the Mozilla Public License Version 1.1
* @license http://www.mozilla.org/MPL/ MPL
* calling connection to database
include('../config/head.php');
$getRecord_sql =
'SELECT count(HigherTaxon) as number,HigherTaxon FROM sptoolhighertaxon WHERE HigherTaxon LIKE "'.
$searchq.
'%" AND TaxonRank = "subfamilia" GROUP BY HigherTaxon LIMIT 50';
for ($i=
0; $i<=
$max-
1; $i++
) {
$s =
"<li id=A".
$i.
" onclick='javascript:SelectHiTaxSubfam2(this.innerHTML);'><a>" .
utf8_encode($row['HigherTaxon']) .
" <strong>(" .
$row['number'] .
")</strong></a></li>";
echo
"<li id=".
$max.
"><span>...</span></li>";
Documentation generated on Tue, 29 Nov 2011 10:45:16 +0100 by phpDocumentor 1.4.3