hello guys.. i have a problem..can anyone tell me how to solve this:
`Notice: Undefined index: BMK81A in C:wampwww`
my full code:
if ( isset($_POST['BMK81A']) && isset($_POST['BMK81']) && isset($_POST['DL3']) && isset($_POST['DL2']) && isset($_POST['DL1']) && isset($_POST['S1']) && isset($_POST['S2']) && isset($_POST['S3']) && isset($_POST['S4']) && isset($_POST['S5']) && isset($_POST['S6']) && isset($_POST['S7']) && isset($_POST['D1']) && isset($_POST['A1']) && isset($_POST['RE1']) && isset($_POST['LU2']) && isset($_POST['NPT']) && isset($_POST['SRP']) && isset($_POST['KTDP']) && isset($_POST['KDP']) && isset($_POST['USPD']) )
$IC2= $_SESSION['IC2'];
$BMK81A = $_POST['BMK81A'];
$BMK81 = $_POST['BMK81'];
$DL3 = $_POST['DL3'];
$DL2 = $_POST['DL2'];
$DL1 = $_POST['DL1'];
$S1 = $_POST['S1'];
$S2 = $_POST['S2'];
$S3 = $_POST['S3'];
$S4 = $_POST['S4'];
$S5 = $_POST['S5'];
$S6 = $_POST['S6'];
$S7 = $_POST['S7'];
$D1 = $_POST['D1'];
$A1 = $_POST['A1'];
$RE1 = $_POST['RE1'];
$LU2 = $_POST['LU2'];
$NPT = $_POST['NPT'];
$SRP = $_POST['SRP'];
$KTDP = $_POST['KTDP'];
$KDP = $_POST['KDP'];
$USPD = $_POST['USPD'];
it is true from this code? plse help me..i need solution!! :'( sory for my bad english!
i'm doing a checkboxes.. if i select a checkboxex, then it will insert into database. then it should update data in the database if have any changes made..
in database, i'm doing a default value..if selected it will be become 1, if not selected will become 0. so from this, i want to update in the database..how to make it?