if (isset($_POST[''])) {
$colname_rsverify = (get_magic_quotes_gpc()) ? $_POST[''] : addslashes($_POST['']);
}
should be:
if (isset($_POST['formElementName'])) {
$colname_rsverify = (get_magic_quotes_gpc()) ? $_POST['formElementName'] : addslashes($_POST['formElementName']);
}