php tags inside <ul> error

Helo

<?php ?> tags and code inside an <ul> tag without li tags around it acts like "should not be there" code Is this an error or setting?

Thanks,

Please sign in to leave a comment.