<tr>
    <td>
        <?= hidden_input(array('name' => 'subjects[]', 'value' => $subject->subject_ID));  ?>
        <?= $subject->subject_name ?>
    </td>
    <td>
        <?= $nos_ques ?>
        <?= hidden_input(array('name' => 'subject_nos_ques[]', 'value' => $nos_ques));  ?>
    </td>
    <td>
        <a class="btn btn-danger btn-sm remove-item" data-toggle="tooltip" data-placement="top" data-original-title="Remove">
            <span class="fa fa-close"></span>
        </a>
    </td>
</tr>