Pregunta

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>

No hay solución correcta

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top