Quote
jak17 wrote:Quote
jak17 wrote:
Super messed my code up :|
thats not what i had in mind
you DO NOT put this in "<?php" :o
THIS is what I meant, and it WORKS:Code Download sourceopenside("Google Ads");
echo "<script type=\"text/javascript\"><!--\n";
echo "google_ad_client = \"pub-5103975367960609\";\n";
echo "/* 120x240, created 5/18/08 */\n";
echo "google_ad_slot = \"8184319823\";\n";
echo "google_ad_width = 120;\n";
echo "google_ad_height = 240;\n";
echo "//-->\n";
echo "</script>\n";
echo "<script type=\"text/javascript\"\n";
echo "src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n";
echo "</script>\n";
closeside();
why on earth would you put echo before the openside?:D
openside("Google Ads");
$google_adv = <<EOD
<script type="text/javascript">
<!--
google_ad_client = "pub-5103975367960609";
/* 120x240, created 5/18/08 */
google_ad_slot = "8184319823";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
EOD;
echo $google_adv."\n";
closeside();
Category Forum
General DiscussionLabels
None yet
Statistics
10 participants
Notifications
You are not receiving notifications from this thread.
Related Questions