Within a php file I generate a html content for an echo, my question is how do I use a for php within that echo.
example of how I'm trying to do;
echo '<div name="estrelas-cliente">
'for($i =1; $i <= 2 ; i++){'
<p>teste</p>
'}'
</div>'