* @author Gabriele Droege, DNA Bank Network
* @version 2.0
* @package Input
* @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org
The contents of this file are subject to the Mozilla Public License Version 1.1
* @filesource
* @license http://www.mozilla.org/MPL/ MPL
*/
/**
* calling connection to database
*/
include ("../config/head.php");
$result= mysqli_query($GLOBALS["___mysqli_ston"], "SELECT Dna_Bank_Number FROM dnabanknumbers WHERE Dna_Bank_Number != '' ORDER BY LENGTH(DNA_Bank_Number)DESC ,DNA_Bank_Number DESC LIMIT 1");
while($row = mysqli_fetch_object($result))
{
echo $row->Dna_Bank_Number;
}
?>