Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

codeigniter 4 multiple validate error

<?php

$errors = $validation->getErrors();


<div class="alert alert-danger" role="alert">
    <ul>
    <?php foreach ($errors as $error): ?>
        <li><?= esc($error) ?></li>
    <?php endforeach ?>
    </ul>
</div>
Source by codeigniter4.github.io #
 
PREVIOUS NEXT
Tagged: #codeigniter #multiple #validate #error
ADD COMMENT
Topic
Name
2+8 =