1//if this helped you you can donate on paypal : ismetgusic@gmail.com
2//Thank you !!!
3
4register errors form :
5
6formErrors.php :
7
8<?php if(!empty($errors)): ?>
9 <?php if(count($errors)): ?>
10 <div class = "msg error">
11 <?php foreach ($errors as $error):?>
12 <ul>
13 <li><?php echo $error; ?></li>
14 </ul>
15 <?php endforeach; ?>
16 </div>
17 <?php endif; ?>
18<?php endif; ?>
19