Guys, I would like to ask how to compare the answers in the database, but I can't figure it out no matter what I do.
<div class="question-type">一、判断题<span>(共<?=$count_jg?>题,每题<?=$j_score['j_score'] ?>分)</span></div>
<?php foreach($jg as $k=>$v): ?>
<div class="question-each">
<!-- 标题 -->
<div class="question-name"><?=$v[0]?>. <?=$v['1']?></div>
<!-- 选项 -->
<div class="question-option">
<label><input type="radio" value="true" name="check" required><?=$v[3]?></label>
<label><input type="radio" value="false" name="check" required><?=$v[4]?></label>
</div>
</div>