<?php
if (!empty($_SESSION['err'])): ?>
<tr>
<td width="220" class="content_l" > <font color = "ff0000">
<?php foreach ($_SESSION['err'] as $err): echo $err.'<br>'; ?> </td>
</tr>
<?php
endif;
unset($_SESSION['err'];
?>
Keep getting this error, cant see anything wrong.
It should be this way:
<?php
if (!empty($_SESSION['err'])):
?>
<tr>
<td width="220" class="content_l" > <font color = "ff0000">
<?php foreach ($_SESSION['err'] as $err){ echo $err.'<br>'; }?> </td>
</tr>
<?php
endif;
unset($_SESSION['err']);
?>