Forum Moderators: coopster
This was the last thing I tried:
<?php
if ($_GET['showtopic'] ¦¦ $_GET['sf'])
{
<div class="sidebarad">
GOOGLE AD CODE
</div>
}
?>
It resulted in this error: Parse error: parse error, unexpected '<' in /path/Google_Referral_120x60.php on line 4
The pages I want it displayed on (board index, forum view and topic view) have urls like this:
Index: domain.com or domain.com/index.php?act=idx
Forum: domain.com/index.php?showforum=1
Topic: domain.com/index.php?showtopic=38&pid=248&st=0&#entry248
Does anyone have any suggestions for how to accomplish this? My knowledge of PHP is, unfortunately, limited to handling basic includes.