Jump to content

Whats wrong with this


a1amattyj

Recommended Posts

Hello,

 

Why does :

 

<br /> 
<?
$ip12=$_SERVER['REMOTE_ADDR'];
if($ip12==91.108.184.251){
echo "Matt doesn't have ads!";
}else{
?>
<center>
<script type="text/javascript"><!--
google_ad_client = "..";
/* 120x240, created 2/29/08 */
google_ad_slot = "1657628479";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "U..";
urchinTracker();
</script>
<?
}
?>

 

Give :

 

Parse error: syntax error, unexpected T_DNUMBER in /home/./public_html/mf_temp/footer.php on line 37

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/94527-whats-wrong-with-this/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.