Ok i dont knnow if im just tired or what but i cant get this damn adsenses code to parse correctly in my php script heres what im using
now why the hell isnt that working? I prolly shouldnt be doing this stuff when i havent had much sleep but i need to get it working lol Anyone see anything wrong? I keep getting this parse error
| Code: |
| echo "<script type=\"text/javascript\"><!--\n";
echo "google_ad_client = \"pub-0602418212667318\";\n" echo "google_ad_width = 728;\n"; echo "google_ad_height = 90;\n"; echo "google_ad_format = \"728x90_as\";\n"; echo "google_ad_type = \"text_image\";\n"; echo "google_ad_channel =\"5145829577\";\n"; echo "google_color_border = \"000000\";\n"; echo "google_color_bg = \"666666\";\n"; echo "google_color_link = \"00FF00\";\n"; echo "google_color_url = \"FF0000\";\n"; echo "google_color_text = \"FFFFFF\";\n"; echo "//--></script>\n"; echo "<script type=\"text/javascript\"\n"; echo "src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n"; echo "</script>\n"; |
| Code: |
|
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/smokey4l/domains/runesource.frih.net/public_html/games/includes/common_funcs.inc.php on line 26 |
