This is my code. It is actually an html file. I want to loop those statements using php so that I can have that paragraph in my html page repeated for any number of times. Please help
<?php
for($i=0;$i<=5;$i++){
<li>
<div class="imgholder"><img src="images/demo/imgl.gif" alt="" /></div>
<div class="latestnews">
<h2>Text !</h2>
<p>Text 2</p>
</div>
<br class="clear" />
</li>
}
?>