Container for FOR LOOP

Hi

I have this code, and you notice there is a FOR LOOP, I want to be able to show the result inside $content [see: I WANT TO INSERT IT HERE]

How do you do that?


for ($i=1; $i<$num_page;$i++){
	echo ($i . "&nbsp;");
}'
  

while ($row = mysql_fetch_array($query_result)) {
	
   $content .="
	<div class=\"blogLCSubject\">I WANT TO INSERT IT HERE</div>";