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