errors register

Solutions on MaxInterview for errors register by the best coders in the world

showing results for - "errors register"
Sean
18 Jun 2020
1register errors form : 
2
3formErrors.php : 
4
5<?php if(!empty($errors)): ?>
6    <?php if(count($errors)): ?>
7                <div class = "msg error">
8                    <?php foreach ($errors as $error):?>
9                    <ul>
10                        <li><?php echo $error; ?></li>
11                    </ul>
12                    <?php endforeach; ?>
13                </div>
14    <?php endif; ?>
15<?php endif; ?>  
16