Kod HTML:
<?php <a class="link" href="/news/comments.php?id=1" >komentarzyki</a>: ?>
za wstawianie tych linków odpowiedzialny jest fragment :
Kod php:
<?php if($compop == "checked") { $temp_short = str_replace("{comments}", "<a href='#' onClick=window.open("$furl/comments.php?id=".$news_item."","","height=$comheight,width=$comwidth,toolbar=no,menubar=no,scrollbars=".checkvalue($comscrolls).",resizable=".checkvalue($comresize)."")>$pclink</a>", $temp_short); }else{ $temp_short = str_replace("{comments}", "<a href="$furl/comments.php?id=".$news_item."" >$pclink</a>", $temp_short); } ?>
problem jest w tym ze jak wstawie class="link"
Kod php:to jest linia 400
<?php $temp_short = str_replace("{comments}", "<a class="link" href="$furl/comments.php?id=".$news_item."" >$pclink</a>", $temp_short); ?>
to wyrzuca mi błąd : Parse error: parse error in c:\usr\apache\httpd\html\news\functions.php on line 400
bardzo prosze o pomoc
btw jest to plik functions.php