Well, it seems that it's printing all the errors out, so just but a big div in the beginning:
Code:
<div id="errors">
/*PHP CODE HERE*/
</div>