Severity: Parsing Error
Message: syntax error, unexpected '}'
Filename: siswa/nilai_siswa.php
This is my code php
 <?php $this->load->view('siswa/header')?> <div class="shortcodes">
    <div class="container">         <div class="page">  <table class="table">
       <thead>
         <tr>
           <th>No</th>
          <th>Nama Mata Pelajaran</th>
           <th>Nilai Tugas</th>
           <th>Nilai UTS</th>
           <th>Nilai UAS</th>
          <th>Nilai Akhir</th>
         </tr>
       </thead>
       <tbody>
         <?php      $no=1;      foreach ($siswa->result() as $field){?>         <tr class="active">             <th scope='row'><?php echo $no?></th>           <td><?php
 echo $field->nama_mapel?></td>             <td><?php echo
 $field->tugas?></td>               <td><?php echo $field->uts?></td>   
            <td><?php echo $field->uas?></td>               <td><?php echo
 $field->nilai_akhir?></td>         </tr>
                </br>       <?php       $no++;      }       ?>
       </tbody>
     </table>       <?php}  else    {   
            echo"";     }   ?>
          </div>     </div> </div> <?php $this->load->view('siswa/footer')?>
 
     
     
     
    