Exemplo n.º 1
0
                $iDesc = "";
                $itfoindicator = "";
                $iTFOType = "";
                $iDefAmount = "";
                $iYearType = "";
                $iNoYear = "";
                ?>
			<body onload='javascript:alert ("Record Successfully Updated!!");'></body>
			<?php 
            }
        }
    }
} elseif ($confx == 1) {
    $nRequirements = new EBPLSTFO($dbLink, 'false');
    $datetoday = date("Y-m-d H:i:s");
    $nRequirements->checksearch($bbo);
    $nResult = $nRequirements->rcount;
    if ($nResult > 0) {
        ?>
		<body onload='javascript:alert ("Cannot Delete, Existing Record found in other table!!");'></body>
		<?php 
    } else {
        $nRequirements = new EBPLSTFO($dbLink, 'false');
        $nRequirements->delete($bbo);
        ?>
		<body onload='javascript:alert ("Record Successfully Deleted!!");'></body>
		<?php 
    }
    $bbo = "";
}
if ($com == "edit") {