s4salman Posted April 4, 2009 Share Posted April 4, 2009 Hello i want to put adsense code into this: if (is_int($i / $cols)){ echo "<td width='180' align='center' style=\"border-style: dotted; border-width: 1\">$mybox</td></tr><tr>"; }else{ echo "<td width='180' align='center' style=\"border-style: dotted; border-width: 1\">$mybox</td>"; } if ( $i / $cols == 2) echo "<td colspan='3' align=\"center\"><!--here i want to put adsense ad code--></td></tr><tr>"; $i++; //end if }//end while i want to put this adsense code : <script type="text/javascript"><!-- google_ad_client = "pub-8599219576830682"; /* funxy forex 336x280, created 4/3/09 */ google_ad_slot = "4524729891"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Quote Link to comment Share on other sites More sharing options...
Mchl Posted April 4, 2009 Share Posted April 4, 2009 http://www.php.net/manual/en/language.basic-syntax.phpmode.php Quote Link to comment Share on other sites More sharing options...
s4salman Posted April 4, 2009 Author Share Posted April 4, 2009 i know that we use : google_ad_slot = \"4524729891\"; But what to do here : google_ad_width = 336; as there is no inverted commans before and after 336 please help Quote Link to comment Share on other sites More sharing options...
Mchl Posted April 4, 2009 Share Posted April 4, 2009 No inverted commas (also called double quotes), no pain. Leave it as it is. Quote Link to comment Share on other sites More sharing options...
s4salman Posted April 4, 2009 Author Share Posted April 4, 2009 Solved. Thanks 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.