<?php if (!empty($error)) { foreach ($error as $err) { echo '<span class="error_msg">' . $err . '</span>'; } } ?>
ch ($error as $err) { echo '<span class="error_msg">' . $err . '</span>'; } } ?>ch ($error as $err) { echo '<span class="error_msg">' . $err . '</span>'; } } ?>