3 행의 C : \ wamp \ www \ vitamin-k-tracker \ test-form-checkboxes.php에있는 정의되지 않은 변수 : 행왜이 게시물을 게시하지 않습니까?
$ _POST [$ row [ "id"]]에 약간의 오류가 있다는 것을 이해하십시오.
<?php
if (isset($_POST[ $row["id"] ]) && !empty($_POST[ $row["id"] ])){
print_r($_POST);
}
?>
<form action="testing-form-checkboxes.php" method="POST">
<?php $row["id"]= 'a'; ?>
<input type="checkbox" name="<?php echo $row["id"]; ?>" value="aa" />
<br /><br />
<input type="submit" value="Add Food to my Meal Planner Queue">
</form>