Question

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>

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top