¤ytag = "
\n"; for (¤i=1; ¤i<=¤pagesnum; ¤i++) { if (¤i != ¤page) ¤ytag .= " tag ¤i &¦149; "; else ¤ytag .= " tag ¤i &¦149; "; } ¤ytag .= "
\n"; ¤ytag=addslashes(preg_replace("/\r|\n/",'',¤ytag)); ?> document.writeln("¤ytag");