Source for file LastDNA.php
Documentation is available at LastDNA.php
* Getting last entered DNA no.
* @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");
$result=
mysql_query ("SELECT Dna_Bank_Number FROM dnabanknumbers WHERE Dna_Bank_Number != '' ORDER BY LENGTH(DNA_Bank_Number)DESC ,DNA_Bank_Number DESC LIMIT 1");
echo
$row->Dna_Bank_Number;
Documentation generated on Tue, 29 Nov 2011 10:44:52 +0100 by phpDocumentor 1.4.3