ID,"CODE".$loop,false); $content=str_replace("%CODE".$loop."%",$html[0],$content); $loop++; } return $content; } ?>