I'm having problems with an application where some <? ?>
tags are being confused with html comments. Follow the code snippet.
<h3><?= $cadastros->num_rows(); ?> registro(s)</h3>
<? foreach($cadastros -> result() as $cadastro): ?>
In source code, it interprets the arrows as html comment.