Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
switch($_POST['mz3pos'])
{
case '':
$mz3pos= NULL;
}
$sql = "UPDATE $Bibliothek SET valid = '$valid', editedat = '$heute', editedby = '$userid', IP = '$ip' WHERE ID = $ID";
$sql1 = "INSERT INTO $Bibliothek (Name, mz1neg, mz2neg, mz3neg, mz4neg, mz5neg, mz6neg, mz7neg, mz1pos, mz2pos, mz3pos, mz4pos, mz5pos, mz6pos, mz7pos, RRT, Retentionszeit, CASNumber, MolecularMass, MolecularFormula, BoilingPoint, APCIneg, APCIpos, ESIneg, ESIpos, ownmeasurement, IDdegradationproduct, Linktospectra, Typcolumn, comment, edit, IP, created, valid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'yes')";
$params = array("$mole", "$mz1neg", "$mz2neg", "$mz3neg", "$mz4neg", "$mz5neg", "$mz6neg", "$mz7neg", "$mz1pos", "$mz2pos", "$mz3pos", "$mz4pos", "$mz5pos", "$mz6pos", "$mz7pos", "$rrt", "$ret", "$casn", "$molma", "$molfo", "$BoiPoi", "$APCIneg", "$APCIpos", "$ESIneg", "$ESIpos", "$measurement", "$IDdeg", "$link", "$column", "$comment", "$admin_userid", "$ip", "$heute");
Dem kann ich mich nur anschließen!Ich würde diesem Argument widersprechen, siehe auch Should I be worried about SQL Injection for Internal Web Apps?.
$params = array($mole, $mz1neg, $mz2neg, $mz3neg, ...
$raw = null;
var_dump($raw); // NULL
var_dump("$raw"); //string(0) ""
?>