a1amattyj Posted March 5, 2008 Share Posted March 5, 2008 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 Quote Link to comment Share on other sites More sharing options...
revraz Posted March 5, 2008 Share Posted March 5, 2008 Would probably help if you said what line is 37. Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted March 5, 2008 Share Posted March 5, 2008 its great when you post 29 lines of stuff and the error is on line 37. Are we suppose to guess that flying pigs came and pointed out line 37 to us??? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted March 5, 2008 Share Posted March 5, 2008 The IP address in this line <?php if($ip12==91.108.184.251){ ?> needs to be quoted: <?php if($ip12 == '91.108.184.251'){ ?> Ken Quote Link to comment Share on other sites More sharing options...
a1amattyj Posted March 5, 2008 Author Share Posted March 5, 2008 The IP address in this line <?php if($ip12==91.108.184.251){ ?> needs to be quoted: <?php if($ip12 == '91.108.184.251'){ ?> Ken Thanks Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.