page_tags) as $page_tag){ if($page_tag = "{CSS}"){ for($j = 2; $j < count($css); $j++) $dictionary->page_tags[$page_tag] .= ""; } if($page_tag = "{JS}"){ for($j = 2; $j < count($js); $j++) $dictionary->page_tags[$page_tag] .= ""; } $site = str_replace($page_tag, $dictionary->page_tags[$page_tag], $site); } echo $site; }