Is there any wrong with this statement?
Error return:
Notice: Undefined index: inputBlock
Notice: Undefined index: inputHouseUnit
code:
if($conn){
$insertData = "INSERT INTO ESTATEUNIT (BLOCK, UNIT) VALUES ('$_POST[inputBlock]', '$_POST[inputHouseUnit]')";
}
See Question&Answers more detail:os