• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Erro Gesior

xLosT

Member
Joined
Jan 11, 2010
Messages
1,022
Reaction score
13
Location
Brasil, Rio Grande do Sul
PHP:
<?PHP echo
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7394149680199995";
/* Ads */
google_ad_slot = "7524924417";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
; ?>

Parse error: syntax error, unexpected '<' in E:\xampp\htdocs\ads.php on line 2
 
Why even wrap it with php tags?
HTML:
<script type="text/javascript">
    <!--
        google_ad_client = "ca-pub-7394149680199995";
        /* Ads */
        google_ad_slot = "7524924417";
        google_ad_width = 468;
        google_ad_height = 60;
    //-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
and if you absolutely must do so (wrap it):
PHP:
<?PHP
echo '<script type="text/javascript">
    <!--
        google_ad_client = "ca-pub-7394149680199995";
        /* Ads */
        google_ad_slot = "7524924417";
        google_ad_width = 468;
        google_ad_height = 60;
    //--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>';
?>
 
Back
Top