Source for file searchGenus3.php
Documentation is available at searchGenus3.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(Genus) as number,Genus FROM sptooltaxa WHERE Genus LIKE "'.
$searchq.
'%" GROUP BY Genus LIMIT 50';
for ($i=
0; $i<=
$max-
1; $i++
) {
$s =
"<li id=A".
$i.
" onclick='javascript:SelectGenus3(this.innerHTML);'><a>" .
utf8_encode($row['Genus']) .
" <strong>(" .
$row['number'] .
")</strong></a></li>";
echo
"<li id=".
$max.
"><span>...</span></li>";
Documentation generated on Tue, 29 Nov 2011 10:45:12 +0100 by phpDocumentor 1.4.3