* Access to all user except of guests * @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"); /** * calling authorisation script */ include ("../auth.php"); ?> DNA Module - Add New Purification Method

Add New Purification Method

"; } else { if($formSubmitSave) { if(empty($formNewMethod) and empty($formNewCompany)) { unset($formNewMethod); unset($formNewCompany); } if($formNewCompany=="" and $formNewMethod!="") { echo "Please complete 'Company'"; } if($formNewCompany!="" and $formNewMethod=="") { echo "Please complete 'Method'"; } if($formNewCompany!="" and $formNewMethod!="") { $result= mysql_query ("SELECT ID_Purification_Method, Method FROM purification " . "WHERE Method = '$formNewMethod'"); if(mysql_num_rows($result)) { echo "Purification Method already exists!"; } else { $result = "INSERT INTO purification (Method, Company, Created_Who)" . "VALUES ('$formNewMethod','$formNewCompany','$log')"; $sql = mysql_query($result); #######################################Error 1############################################################### if(!$sql) { $msg = $result."\n"; $msg .= "####Error 1####"; if($debug == '1') echo $msg; trigger_error($msg, E_USER_ERROR); /** * calling Error message */ include ("Errorreport.php"); } ############################################################################################################# else { include("../config/DataSaved.php"); } } } }//if ($formSubmitSave) ?> "; if($num_rows > 0) { echo ""; echo ""; while ($row = mysql_fetch_object($result)) { echo ""; }} else { echo ""; } mysql_free_result($result); ?>
Sorry, as a guest you don't have permission for entering new data! If you want to search for existing DNA data please use the Search function!
The list shows all entries of table:purification. It is not possible to change or delete entries here. To do so please ask your administrator for assistance.

Method (Company)Created
".$row->Method." (".$row->Company.")".$row->Created_Who." (".$row->Created_When.")
No purification entries found.
Add new Method:
and company:
After finishing your entries please close this window and reload (F5) the input or search mask to get the updated list from database.