What is wrong with this php code?

irshad h

New member
I am about to install my website but i get a message that says:

Parse error: syntax error, unexpected $end in C:\folder\htdocs\DownloadCrossroad\install\steps\msgs.php on line 21

here is the msgs.php file

<?php
if(count($errors)>0)
{
foreach($errors as $error)
{
?>
<span class="error"><?=$error?></span>
<?
}
}

if(count($msgs)>0)
{
foreach($msgs as $msg)
{
?>
<span class="msg"><?=$msg?></span>
<?
}
}
?>
 
Back
Top