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