Cananyonehelpmefigureoutwhythecodebelowiswrong?Isthereanyparameterizationsothatitdoesnotappearonthemainpage?
<?php}if(isset($_POST['submitBtn'])){?><divclass="caption">Resultado do Login:</div>
<div id="icon2"> </div>
<div id="result">
<table width="100%">
<tbody>
<tr>
<td><br />
<br />
if ($error == "") {
echo "Benvindo";
echo "<a href="index.php">Click aqui para entrar.</a>";
}
else echo $error;
?>
<br />
<br />
<br />
</td>
</tr>
</tbody>
</table>
</div>
<?php }
?> </div>
</div>