문제

I have an error after foreach. the message is Undefined variable: mapel

<?php 
            $no=1;
            foreach($mapel->result() as $row){ ?>
                <tr>
                    <td><?php echo $no++;?>
                    <td><?php echo "".$row->$nm_mapel;?></td>

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top