CodeIgniter giving error of "endif" : I setup this if condition for validation but endif giving ma errors I give you guys screen short of error
  
    19 . <?php if($this->session->flashdata('errors')); ?>
    20 .    <?= $this->session->flashdata('errors'); ?>
    21 . <?php endif; ?>

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/AqxXV.png